SecurityTokenService.EndCancel Method (IAsyncResult)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

When overridden in a derived class, completes the asynchronous WS-Trust Cancel request.

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

public virtual RequestSecurityTokenResponse EndCancel(
	IAsyncResult result


Type: System.IAsyncResult

The IAsyncResult that is returned by a call to the BeginCancel method.

Return Value

Type: System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse

A RequestSecurityTokenResponse that represents the RSTR to return to the caller.

The default implementation of this method throws an InvalidRequestException.

.NET Framework
Available since 4.5
Return to top