ResolvedDiagnosticEvent.GetLongDescription Method

Definition

Gets the formatted long description for this DiagnosticEvent. For a DataQuery, the formatted long description is created by combining the long description format string with the collected data. For a ProgrammableDataQuery, the programmable data query provides the formatted long description.

public:
 System::String ^ GetLongDescription();
public:
 Platform::String ^ GetLongDescription();
std::wstring GetLongDescription();
public string GetLongDescription ();
member this.GetLongDescription : unit -> string
Public Function GetLongDescription () As String

Returns

A formatted long description. If the long description is not available, an empty string is returned.

Exceptions

The programmable data query is invalid (when DataQueryType is ProgrammableDataQuery).

The programmable data query is invalid (when DataQueryType is ProgrammableDataQuery).

The programmable data query could not be found (when DataQueryType is ProgrammableDataQuery). The directory specified by ProgrammableDataQueryDirectory may be incorrect.

The programmable data query is invalid (when DataQueryType is ProgrammableDataQuery).

The programmable data query threw an exception (when DataQueryType is ProgrammableDataQuery).

The programmable data query is invalid (when DataQueryType is ProgrammableDataQuery).

Applies to