ContractBase::RevokeLifetimeToken Method (Int32)

 

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

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

public:
virtual void RevokeLifetimeToken(
	int token
) sealed

Parameters

token
Type: System::Int32

The token number.

Exception Condition
InvalidOperationException

token is not found in the list of outstanding lifetime tokens.

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

.NET Framework
Available since 3.5
Return to top
Show: