ContractBase.RevokeLifetimeToken(Int32) Method

Definition

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

C#
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
public void RevokeLifetimeToken(int token);
C#
public void RevokeLifetimeToken(int token);

Parameters

token
Int32

The token number.

Implements

Attributes

Exceptions

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

Remarks

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

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1