SecurityTokenServiceClient.EndValidateSecurityTokenResponse Method

Completes an asynchronous request to a security token service to validate a security token using the response from a previous request.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim result As IAsyncResult
Dim returnValue As RequestSecurityTokenResponse
Dim securityTokenServiceClient1 As SecurityTokenServiceClient
returnValue = securityTokenServiceClient1.EndValidateSecurityTokenResponse(result)

Syntax

'Declaration
Public Overridable Function EndValidateSecurityTokenResponse( _
    ByVal result As IAsyncResult _
) As RequestSecurityTokenResponse
public virtual RequestSecurityTokenResponse EndValidateSecurityTokenResponse(
    IAsyncResult result
);
public: RequestSecurityTokenResponse^ EndValidateSecurityTokenResponse(
    IAsyncResult^ result
);
public RequestSecurityTokenResponse EndValidateSecurityTokenResponse(
    IAsyncResult result
);
public function EndValidateSecurityTokenResponse(
     result : IAsyncResult
) : RequestSecurityTokenResponse;

Parameters

  • result
    An System.IAsyncResult that stores state information for this asynchronous operation.

Return Value

The RequestSecurityTokenResponse that contains the response from the security token service.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SecurityTokenServiceClient Class
Microsoft.Web.Services2.Security Namespace

Other Resources

SecurityTokenServiceClient Members