ResolvedDiagnosticEvent.GetLongDescription Method
Gets the formatted long description for this DiagnosticEvent.
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
'宣告
Public Function GetLongDescription As String
public string GetLongDescription()
public:
String^ GetLongDescription()
member GetLongDescription : unit -> string
public function GetLongDescription() : String
Return Value
Type: System.String
A formatted long description.
Exceptions
Exception | Condition |
---|---|
MissingMethodException | The programmable data query is invalid, which occurs when |
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 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.