Message.SecurityContext 屬性

定義

取得或設定訊息的安全性內容。Gets or sets the security context for a message.

public:
 property System::Messaging::SecurityContext ^ SecurityContext { System::Messaging::SecurityContext ^ get(); void set(System::Messaging::SecurityContext ^ value); };
public System.Messaging.SecurityContext SecurityContext { get; set; }
member this.SecurityContext : System.Messaging.SecurityContext with get, set
Public Property SecurityContext As SecurityContext

屬性值

SecurityContext

如果先前已設定屬性,則為包含訊息之安全性內容的 SecurityContext 物件,否則為 NULL。A SecurityContext object that contains the security context for a message, if the property has previously been set; otherwise NULL.

適用於