Namespace: Microsoft.IdentityModel.SecurityTokenService
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As SecurityTokenService
Dim principal As IClaimsPrincipal
Dim request As RequestSecurityToken
Dim returnValue As RequestSecurityTokenResponse

returnValue = instance.Cancel(principal, request)

Syntax

Visual Basic
Public Overridable Function Cancel ( _
		principal As IClaimsPrincipal, _
		request As RequestSecurityToken _
) As RequestSecurityTokenResponse
C#
public virtual RequestSecurityTokenResponse Cancel (
		IClaimsPrincipal principal,
		RequestSecurityToken request
)
C++
public:
virtual RequestSecurityTokenResponse^ Cancel (
		IClaimsPrincipal^ principal, 
		RequestSecurityToken^ request
)
J#
public RequestSecurityTokenResponse Cancel (
		IClaimsPrincipal principal, 
		RequestSecurityToken request
)
JScript
public function Cancel (
		principal : IClaimsPrincipal, 
		request : RequestSecurityToken
) : RequestSecurityTokenResponse

Parameters

principal
request

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 Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also