GetChannelFactory Method

MetadataExchangeClient.GetChannelFactory Method

When overridden in a derived class, returns the channel factory that is used to make the WS-Transfer metadata request.

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

protected internal virtual ChannelFactory<IMetadataExchange> GetChannelFactory(
	EndpointAddress metadataAddress,
	string dialect,
	string identifier


Type: System.ServiceModel.EndpointAddress

The metadata address.

Type: System.String

The dialect of the metadata.

Type: System.String

The identifier of the metadata.

Return Value

Type: System.ServiceModel.ChannelFactory<IMetadataExchange>
A ChannelFactory<TChannel> of type IRequestChannel that makes the WS-Transfer metadata request.

This method is called when retrieving metadata for a MetadataReference.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2016 Microsoft