DiagnosticRelatedInformation(String, Int32, Range, String) Constructor
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.
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.