ServiceChannel<TChannel>.CreateChannel Method

Definition

Creates a new WCF channel.

protected:
 virtual TChannel CreateChannel();
[System.Security.SecuritySafeCritical]
protected virtual TChannel CreateChannel ();
[<System.Security.SecuritySafeCritical>]
abstract member CreateChannel : unit -> 'Channel
override this.CreateChannel : unit -> 'Channel
Protected Overridable Function CreateChannel () As TChannel

Returns

TChannel

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

Attributes

Remarks

The new channel is in the created state.

Applies to

See also