Partager via


ResolvedDiagnosticEvent.GetShortDescription Method

Gets the formatted short description for this DiagnosticEvent.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)

Syntax

'Déclaration
Public Function GetShortDescription As String
public string GetShortDescription()
public:
String^ GetShortDescription()
member GetShortDescription : unit -> string 
public function GetShortDescription() : String

Return Value

Type: System.String
A formatted short description.

Exceptions

Exception Condition
MissingMethodException

The programmable data query is invalid, which occurs when

DataQueryType is ProgrammableDataQuery.

TypeLoadException

The programmable data query is invalid. This occurs when DataQueryType is ProgrammableDataQuery.

FileNotFoundException

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

MemberAccessException

The programmable data query is invalid. This occurs when DataQueryType is ProgrammableDataQuery.

TargetInvocationException

The programmable data query threw an exception. This occurs when DataQueryType is ProgrammableDataQuery.

BadImageFormatException

The programmable data query is invalid DataQueryType is ProgrammableDataQuery.

Remarks

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.

.NET Framework Security

See Also

Reference

ResolvedDiagnosticEvent Class

Microsoft.VisualStudio.IntelliTrace Namespace