Share via


ResolvedDiagnosticEvent.GetShortDescription Method

Definition

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

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

Returns

A formatted short description. If the short 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