Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WSFederationMessage.Context Property

.NET Framework 4.6 and 4.5

Gets or sets the wctx parameter of the message.

Namespace:  System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public string Context { get; set; }

Property Value

Type: System.String
The value of the wctx parameter.

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 noteImportant

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.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft