MessageVersionContext.TryIncrementVersion(Guid) 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.
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.