IContract.RevokeLifetimeToken(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies that the contract is no longer accessible to a client.
public:
void RevokeLifetimeToken(int token);
public void RevokeLifetimeToken (int token);
abstract member RevokeLifetimeToken : int -> unit
Public Sub RevokeLifetimeToken (token As Integer)
Parameters
- token
- Int32
A value, also known as a lifetime token, that identifies the client that is revoking the contract.
Remarks
Clients of an object that implements IContract call the RevokeLifetimeToken method to notify the object that the client no longer needs the contract. An IContract is guaranteed to be usable as long as at least one lifetime token that it passed to a client has not been revoked.
To acquire a contract, clients call the AcquireLifetimeToken method.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor