BuildComponentUtilitiesGetExceptionMessage Method
This is used to get the message strings from an exception and any of its inner exceptions
Namespace: Sandcastle.Core.BuildAssemblerAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static string GetExceptionMessage(
this Exception exception
)
<ExtensionAttribute>
Public Shared Function GetExceptionMessage (
exception As Exception
) As String
public:
[ExtensionAttribute]
static String^ GetExceptionMessage(
Exception^ exception
)
[<ExtensionAttribute>]
static member GetExceptionMessage :
exception : Exception -> string
- exception Exception
- The exception from which to get the message
StringThe exception message along with any inner exception messagesIn Visual Basic and C#, you can call this method as an instance method on any object of type
Exception. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).