Edit

Share via


MetadataExchangeClient.GetChannelFactory Method

Definition

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

protected public:
 virtual System::ServiceModel::ChannelFactory<System::ServiceModel::Description::IMetadataExchange ^> ^ GetChannelFactory(System::ServiceModel::EndpointAddress ^ metadataAddress, System::String ^ dialect, System::String ^ identifier);
protected internal virtual System.ServiceModel.ChannelFactory<System.ServiceModel.Description.IMetadataExchange> GetChannelFactory (System.ServiceModel.EndpointAddress metadataAddress, string dialect, string identifier);
abstract member GetChannelFactory : System.ServiceModel.EndpointAddress * string * string -> System.ServiceModel.ChannelFactory<System.ServiceModel.Description.IMetadataExchange>
override this.GetChannelFactory : System.ServiceModel.EndpointAddress * string * string -> System.ServiceModel.ChannelFactory<System.ServiceModel.Description.IMetadataExchange>
Protected Friend Overridable Function GetChannelFactory (metadataAddress As EndpointAddress, dialect As String, identifier As String) As ChannelFactory(Of IMetadataExchange)

Parameters

metadataAddress
EndpointAddress

The metadata address.

dialect
String

The dialect of the metadata.

identifier
String

The identifier of the metadata.

Returns

A ChannelFactory<TChannel> of type IRequestChannel that makes the WS-Transfer metadata request.

Remarks

This method is called when retrieving metadata for a MetadataReference.

Applies to