ServiceChannel<TChannel>.CreateChannel Method ()


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

Creates a new WCF channel.

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


[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
protected virtual TChannel CreateChannel()
<SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted := True)>
Protected Overridable Function CreateChannel As TChannel

Return Value

Type: TChannel

Type: IOutputChannel or IRequestChannel
The new WCF channel associated with the service channel.


The new channel is in the created state.

See Also

ServiceChannel<TChannel> Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright