Share via


MetadataExchangeClient.GetChannelFactory 方法

定義

在衍生類別中覆寫時,傳回用來提出 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)

參數

metadataAddress
EndpointAddress

中繼資料的位址。

dialect
String

中繼資料的方言。

identifier
String

中繼資料的識別碼。

傳回

提出 WS-Transfer 中繼資料要求之型別為 ChannelFactory<TChannel>IRequestChannel

備註

擷取 MetadataReference 的中繼資料時,會呼叫這個方法。

適用於