共用方式為


WsdlEndpointConversionContext.GetMessageDescription(MessageBinding) 方法

定義

取得由 WSDL 繫結指定的訊息的訊息描述。

public:
 System::ServiceModel::Description::MessageDescription ^ GetMessageDescription(System::Web::Services::Description::MessageBinding ^ messageBinding);
public System.ServiceModel.Description.MessageDescription GetMessageDescription (System.Web.Services.Description.MessageBinding messageBinding);
member this.GetMessageDescription : System.Web.Services.Description.MessageBinding -> System.ServiceModel.Description.MessageDescription
Public Function GetMessageDescription (messageBinding As MessageBinding) As MessageDescription

參數

messageBinding
MessageBinding

與訊息關聯的 MessageBinding

傳回

MessageDescription

由繫結指定的訊息的 MessageDescription

備註

這個方法是 GetMessageBinding 方法的反向。

適用於