Jaa


ServiceConfigurationFactory.CreateConfiguration<TService> Method (Uri, Boolean, Assembly)

 

Applies To: Dynamics CRM 2015

Creates a service configuration

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public static IServiceConfiguration<TService> CreateConfiguration<TService>(
    Uri serviceUri,
    bool enableProxyTypes,
    Assembly assembly
)
public:
generic<typename TService>
static IServiceConfiguration<TService>^ CreateConfiguration(
    Uri^ serviceUri,
    bool enableProxyTypes,
    Assembly^ assembly
)
static member CreateConfiguration<'TService> : 
        serviceUri:Uri *
        enableProxyTypes:bool *
        assembly:Assembly -> IServiceConfiguration<'TService>
Public Shared Function CreateConfiguration(Of TService) (
    serviceUri As Uri,
    enableProxyTypes As Boolean,
    assembly As Assembly
) As IServiceConfiguration(Of TService)

Parameters

  • serviceUri
    Type: System.Uri

    Specifies the web service’s URI.

  • enableProxyTypes
    Type: System.Boolean

    True to enable proxy types; otherwise, False.

Return Value

Type: Microsoft.Xrm.Sdk.Client.IServiceConfiguration<TService>

Type: IServiceConfiguration<TService>
A service configuration object.

Type Parameters

See Also

CreateConfiguration Overload
ServiceConfigurationFactory Class
Microsoft.Xrm.Sdk.Client Namespace
Create early bound entity classes with the code generation tool (CrmSvcUtil.exe)

Return to top

© 2016 Microsoft. All rights reserved. Copyright