MetadataExchangeClient.GetChannelFactory(EndpointAddress, String, String) Metoda

Definicja

Gdy jest zastępowany w klasie pochodnej, zwraca fabrykę kanałów, która jest używana do przesyłania żądania metadanych WS-Transfer.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)

Parametry

metadataAddress
EndpointAddress

Adres metadanych.The metadata address.

dialect
String

Dialekt metadanych.The dialect of the metadata.

identifier
String

Identyfikator metadanych.The identifier of the metadata.

Zwraca

ChannelFactory<IMetadataExchange>

ChannelFactory<TChannel>Typ IRequestChannel , który powoduje żądanie metadanych WS-Transfer.A ChannelFactory<TChannel> of type IRequestChannel that makes the WS-Transfer metadata request.

Uwagi

Ta metoda jest wywoływana podczas pobierania metadanych dla MetadataReference .This method is called when retrieving metadata for a MetadataReference.

Dotyczy