MessageVersionContext.TryIncrementVersion(Guid) Method

Definition

Increments the version of the specified component.

public bool TryIncrementVersion (Guid componentIdentifier);
member this.TryIncrementVersion : Guid -> bool
Public Function TryIncrementVersion (componentIdentifier As Guid) As Boolean

Parameters

componentIdentifier
Guid

Component identifier to update.

Returns

true if successful, false if component was not registered or a conflict occured.

Remarks

While a component version can be incremented from different threads, the version change will be reflected immediately on all subsequent calls.

Applies to