ServiceConfigurationFactory.CreateConfiguration ServiceConfigurationFactory.CreateConfiguration ServiceConfigurationFactory.CreateConfiguration ServiceConfigurationFactory.CreateConfiguration Method

Definition

Overloads

CreateConfiguration<TService>(Uri) CreateConfiguration<TService>(Uri) CreateConfiguration<TService>(Uri) CreateConfiguration<TService>(Uri)

Creates a service configuration.

CreateConfiguration<TService>(Uri, Boolean, Assembly) CreateConfiguration<TService>(Uri, Boolean, Assembly) CreateConfiguration<TService>(Uri, Boolean, Assembly)

Creates a service configuration

CreateConfiguration<TService>(Uri) CreateConfiguration<TService>(Uri) CreateConfiguration<TService>(Uri) CreateConfiguration<TService>(Uri)

Creates a service configuration.

public:
generic <typename TService>
 static Microsoft::Xrm::Sdk::Client::IServiceConfiguration<TService> ^ CreateConfiguration(Uri ^ serviceUri);
public static Microsoft.Xrm.Sdk.Client.IServiceConfiguration<TService> CreateConfiguration<TService> (Uri serviceUri);
static member CreateConfiguration : Uri -> Microsoft.Xrm.Sdk.Client.IServiceConfiguration<'Service>
Public Shared Function CreateConfiguration(Of TService) (serviceUri As Uri) As IServiceConfiguration(Of TService)

Type Parameters

TService

Specifies a Microsoft Dynamics 365 service type: IDiscoveryService or IOrganizationService.

Parameters

serviceUri
Uri Uri Uri Uri

Specifies the service’s URI.

Returns

CreateConfiguration<TService>(Uri, Boolean, Assembly) CreateConfiguration<TService>(Uri, Boolean, Assembly) CreateConfiguration<TService>(Uri, Boolean, Assembly)

Creates a service configuration

public:
generic <typename TService>
 static Microsoft::Xrm::Sdk::Client::IServiceConfiguration<TService> ^ CreateConfiguration(Uri ^ serviceUri, bool enableProxyTypes, System::Reflection::Assembly ^ assembly);
public static Microsoft.Xrm.Sdk.Client.IServiceConfiguration<TService> CreateConfiguration<TService> (Uri serviceUri, bool enableProxyTypes, System.Reflection.Assembly assembly);
static member CreateConfiguration : Uri * bool * System.Reflection.Assembly -> Microsoft.Xrm.Sdk.Client.IServiceConfiguration<'Service>

Type Parameters

TService

Specifies a Microsoft Dynamics 365 service type: IDiscoveryService or IOrganizationService.

Parameters

serviceUri
Uri Uri Uri Uri

Specifies the web service’s URI.

enableProxyTypes
Boolean Boolean Boolean Boolean

True to enable proxy types; otherwise, False.

assembly
Assembly Assembly Assembly Assembly

An assembly containing proxy types.

Returns

Applies to