MetadataExchangeClient.GetChannelFactory Metoda

Definicja

Po zastąpieniu klasy pochodnej zwraca fabrykę kanałów używaną do wysyłania żądania metadanych WS-Transfer.

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.

dialect
String

Dialekt metadanych.

identifier
String

Identyfikator metadanych.

Zwraca

Typ ChannelFactory<TChannel>IRequestChannel , który sprawia, że żądanie metadanych WS-Transfer.

Uwagi

Ta metoda jest wywoływana podczas pobierania metadanych dla elementu MetadataReference.

Dotyczy