Kongsi melalui


IServiceManagement<TService>.CreateChannelFactory Method (ClientCredentials)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Creates a WCF channel factory using specified client credentials.

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

Syntax

ChannelFactory<TService> CreateChannelFactory(
    ClientCredentials clientCredentials
)
Function CreateChannelFactory (
    clientCredentials As ClientCredentials
) As ChannelFactory(Of TService)

Parameters

Return Value

Type: System.ServiceModel.ChannelFactory<TService>

Type: ChannelFactory<TService> where TService: IDiscoveryService or IOrganizationService
The WCF channel factory.

See Also

CreateChannelFactory Overload
IServiceManagement<TService> Interface
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright