[This is preliminary documentation and is subject to change.]
Writes exception message with exception type
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static string ToMessageWithType(
this Exception error
)
public static string ToMessageWithType(
this Exception error
)
<ExtensionAttribute>
Public Shared Function ToMessageWithType (
error As Exception
) As String
<ExtensionAttribute>
Public Shared Function ToMessageWithType (
error As Exception
) As String
public:
[ExtensionAttribute]
static String^ ToMessageWithType(
Exception^ error
)
public:
[ExtensionAttribute]
static String^ ToMessageWithType(
Exception^ error
)
static member ToMessageWithType :
error : Exception -> string
static member ToMessageWithType :
error : Exception -> string
Return Value
Type:
StringUsage Note
In 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).