The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SecurityTokenReceivedEventArgs Constructor (SecurityToken^, String^)
.NET Framework (current version)
Initializes a new instance of the SecurityTokenReceivedEventArgs class by using the specified security token and sign-in context.
Assembly: System.IdentityModel.Services (in System.IdentityModel.Services.dll)
public:
SecurityTokenReceivedEventArgs(
SecurityToken^ securityToken,
String^ signInContext
)
Parameters
- securityToken
-
Type:
System.IdentityModel.Tokens::SecurityToken^
The issued security token.
- signInContext
-
Type:
System::String^
The sign-in context specified in the control.
| Exception | Condition |
|---|---|
| ArgumentNullException | securityToken is null. |
In the new instance, the SecurityToken property is set to the token specified by the securityToken parameter and the SignInContext property is set to the value of the signInContext property.
.NET Framework
Available since 4.5
Available since 4.5
Show: