ContractBase.RevokeLifetimeToken Method (Int32)

 
System_CAPS_noteNote

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

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.

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: