ServiceChannel<TChannel>.CreateChannel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.