Редагувати

Поділитися через


WSFederationMessage.Context Property

Definition

Gets or sets the wctx parameter of the message.

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

Property Value

The value of the wctx parameter.

Remarks

Specifies a context value that must be returned with the issued token if it is passed in the request. The value is opaque, that is, its semantics are known only by the originator of the message (typically a relying party - RP); it is not interpreted by the receiver of the message or any intermediaries. The wctx parameter is optional. Set the Context property to null or an empty string to remove the wctx parameter from the message.

Important

If your application receives a WS-Federation message with the wctx parameter set, it should ensure that the same value is returned in any response to the sender, or forwarded if the message is passed on to another party.

Applies to