Aracılığıyla paylaş


WSTrustChannelFactory.CreateChannel(EndpointAddress, Uri) Yöntem

Tanım

Belirli bir aktarım adresi aracılığıyla belirli bir WSTrustChannel uç nokta adresinde bir hizmete ileti göndermek için kullanılan bir nesne oluşturur.

public:
 override System::ServiceModel::Security::IWSTrustChannelContract ^ CreateChannel(System::ServiceModel::EndpointAddress ^ address, Uri ^ via);
public override System.ServiceModel.Security.IWSTrustChannelContract CreateChannel (System.ServiceModel.EndpointAddress address, Uri via);
override this.CreateChannel : System.ServiceModel.EndpointAddress * Uri -> System.ServiceModel.Security.IWSTrustChannelContract
Public Overrides Function CreateChannel (address As EndpointAddress, via As Uri) As IWSTrustChannelContract

Parametreler

address
EndpointAddress

Hizmetin EndpointAddress konumunu sağlayan.

via
Uri

Kanalın Uri ileti gönderdiği aktarım adresini içeren.

Döndürülenler

Contract Yeni kanalı temsil eden bir nesne.

Açıklamalar

Döndürülen nesne sınıfının bir örneğidir WSTrustChannel .

Şunlara uygulanır