Share via


ServiceChannel<TChannel>.CreateChannel Method ()

 

Applies To: Dynamics CRM 2015

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()
protected:
[SecurityPermissionAttribute(SecurityAction::Demand, Unrestricted = true)]
virtual TChannel CreateChannel()
[<SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)>]
abstract CreateChannel : unit -> 'TChannel
[<SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)>]
override CreateChannel : unit -> 'TChannel
<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

© 2016 Microsoft. All rights reserved. Copyright