ContractBase::AcquireLifetimeToken Method ()

 

Obtains a lifetime token.

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

public:
virtual int AcquireLifetimeToken() sealed

Return Value

Type: System::Int32

A random number that identifies a token.

Exception Condition
InvalidOperationException

All previously acquired tokens have been revoked. No further tokens are available.

.NET Framework
Available since 3.5
Return to top
Show: