docs.unity3d.com
    Show / Hide Table of Contents

    Class ServiceHostConfigurationFactory

    A factory class used to create a ServiceHostConfiguration.

    Inheritance
    Object
    ServiceHostConfigurationFactory
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Common
    Syntax
    [Obsolete("Use ServiceHostResolverFactory instead.")]
    public static class ServiceHostConfigurationFactory

    Methods

    Create()

    Create a ServiceHostConfiguration with default values. Any system-level overrides set via environment variables will take priority.

    Declaration
    public static ServiceHostConfiguration Create()
    Returns
    Type Description
    ServiceHostConfiguration

    The created configuration.

    CreateWithOverride(ServiceHost)

    Create a ServiceHostConfiguration with an optional application-level override for service host options. Any system-level overrides set via environment variables will take priority.

    Declaration
    public static ServiceHostConfiguration CreateWithOverride(ServiceHost applicationOverride)
    Parameters
    Type Name Description
    ServiceHost applicationOverride

    An application-level override value for for service host options.

    Returns
    Type Description
    ServiceHostConfiguration

    The created configuration.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023