Partilhar via


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)

Syntax

[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.

Remarks

The new channel is in the created state.

See Also

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright