OperationContext.OutgoingMessageProperties 屬性

定義

取得使用中 OperationContext 內的傳出訊息之訊息屬性。

public:
 property System::ServiceModel::Channels::MessageProperties ^ OutgoingMessageProperties { System::ServiceModel::Channels::MessageProperties ^ get(); };
public System.ServiceModel.Channels.MessageProperties OutgoingMessageProperties { get; }
member this.OutgoingMessageProperties : System.ServiceModel.Channels.MessageProperties
Public ReadOnly Property OutgoingMessageProperties As MessageProperties

屬性值

包含傳出訊息上之訊息屬性的 MessageProperties 物件。

備註

使用本屬性在服務作業產生的回覆訊息中新增訊息屬性,或在用戶端 Proxy 產生的要求訊息中新增訊息屬性。

適用於