WebChannelFactory<TChannel> Constructor (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the WebChannelFactory<TChannel> class.

Namespace:   System.ServiceModel.Web
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public WebChannelFactory(
	Type channelType
)

Parameters

channelType
Type: System.Type

The channel type to use.

The type passed for the type parameter must be an interface.

.NET Framework
Available since 3.5
Return to top
Show: