Partager via


MessageVersionRequest Constructors

Definition

Overloads

MessageVersionRequest(MessageVersionRequest)
MessageVersionRequest(Guid, Int64, Nullable<Int64>, String)

Initializes a new instance of the MessageVersionRequest class.

MessageVersionRequest(MessageVersionRequest)

protected MessageVersionRequest (Microsoft.Internal.VisualStudio.Extensibility.Framework.MessageVersionRequest original);
Protected Sub New (original As MessageVersionRequest)

Parameters

Applies to

MessageVersionRequest(Guid, Int64, Nullable<Int64>, String)

Initializes a new instance of the MessageVersionRequest class.

public MessageVersionRequest (Guid id, long requiredVersion, long? updatedVersion = default, string? displayName = default);
new Microsoft.Internal.VisualStudio.Extensibility.Framework.MessageVersionRequest : Guid * int64 * Nullable<int64> * string -> Microsoft.Internal.VisualStudio.Extensibility.Framework.MessageVersionRequest
Public Sub New (id As Guid, requiredVersion As Long, Optional updatedVersion As Nullable(Of Long) = Nothing, Optional displayName As String = Nothing)

Parameters

id
Guid

The short form context identifier.

requiredVersion
Int64

Required version to process the message.

updatedVersion
Nullable<Int64>

Optional new version to update context once message is processed.

displayName
String

Optional display name for the component, can be passed in initial requests for diagnostics.

Applies to