This documentation is archived and is not being maintained.

ContractBase.RevokeLifetimeToken Method

Removes the specified token from the list of outstanding lifetime tokens.

Namespace:  System.AddIn.Pipeline
Assembly:  System.AddIn (in System.AddIn.dll)

public void RevokeLifetimeToken(
	int token
)

Parameters

token
Type: System.Int32

The token number.

Implements

IContract.RevokeLifetimeToken(Int32)

If the token is not in the list of outstanding lifetime tokens, this method throws an InvalidOperationException.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: