DiagnosticRelatedInformation(String, Int32, Range, String) Constructor

Definition

Initializes a new instance of the DiagnosticRelatedInformation class.

public:
 DiagnosticRelatedInformation(System::String ^ documentMoniker, int documentVersionNumber, Microsoft::VisualStudio::RpcContracts::Utilities::Range range, System::String ^ message);
public DiagnosticRelatedInformation (string documentMoniker, int documentVersionNumber, Microsoft.VisualStudio.RpcContracts.Utilities.Range range, string message);
new Microsoft.VisualStudio.RpcContracts.DiagnosticManagement.DiagnosticRelatedInformation : string * int * Microsoft.VisualStudio.RpcContracts.Utilities.Range * string -> Microsoft.VisualStudio.RpcContracts.DiagnosticManagement.DiagnosticRelatedInformation
Public Sub New (documentMoniker As String, documentVersionNumber As Integer, range As Range, message As String)

Parameters

documentMoniker
String

The name of the document containing the diagnostics.

documentVersionNumber
Int32

The version number of the document.

range
Range

The location in documentMoniker of the related information.

message
String

The message of this related diagnostic information.

Applies to