Edit

Share via


SecurityTokenService.FederatedAsyncState Constructors

Definition

Initializes a new instance of the SecurityTokenService.FederatedAsyncState class.

Overloads

SecurityTokenService.FederatedAsyncState(SecurityTokenService+FederatedAsyncState)

Initializes a new instance of the SecurityTokenService.FederatedAsyncState class from the specified SecurityTokenService.FederatedAsyncState object. This constructor effectively creates a copy of the specified instance.

SecurityTokenService.FederatedAsyncState(RequestSecurityToken, ClaimsPrincipal, IAsyncResult)

Initializes a new instance of the SecurityTokenService.FederatedAsyncState class with the specified token request (RST), token requestor, and IAsyncResult object.

SecurityTokenService.FederatedAsyncState(SecurityTokenService+FederatedAsyncState)

Initializes a new instance of the SecurityTokenService.FederatedAsyncState class from the specified SecurityTokenService.FederatedAsyncState object. This constructor effectively creates a copy of the specified instance.

public:
 FederatedAsyncState(System::IdentityModel::SecurityTokenService::FederatedAsyncState ^ federatedAsyncState);
public FederatedAsyncState (System.IdentityModel.SecurityTokenService.FederatedAsyncState federatedAsyncState);
new System.IdentityModel.SecurityTokenService.FederatedAsyncState : System.IdentityModel.SecurityTokenService.FederatedAsyncState -> System.IdentityModel.SecurityTokenService.FederatedAsyncState
Public Sub New (federatedAsyncState As SecurityTokenService.FederatedAsyncState)

Parameters

federatedAsyncState
SecurityTokenService.FederatedAsyncState

The SecurityTokenService.FederatedAsyncState instance from which to create the new instance.

Exceptions

federatedAsyncState is null.

Applies to

SecurityTokenService.FederatedAsyncState(RequestSecurityToken, ClaimsPrincipal, IAsyncResult)

Initializes a new instance of the SecurityTokenService.FederatedAsyncState class with the specified token request (RST), token requestor, and IAsyncResult object.

public:
 FederatedAsyncState(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, System::Security::Claims::ClaimsPrincipal ^ principal, IAsyncResult ^ result);
public FederatedAsyncState (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.Security.Claims.ClaimsPrincipal principal, IAsyncResult result);
new System.IdentityModel.SecurityTokenService.FederatedAsyncState : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.Security.Claims.ClaimsPrincipal * IAsyncResult -> System.IdentityModel.SecurityTokenService.FederatedAsyncState
Public Sub New (request As RequestSecurityToken, principal As ClaimsPrincipal, result As IAsyncResult)

Parameters

request
RequestSecurityToken

The token request.

principal
ClaimsPrincipal

The identity of the requestor.

result
IAsyncResult

An IAsyncResult that represents the status of the asynchronous call.

Exceptions

request is null.

-or-

result is null.

Applies to