ExtensionMethodsEnumerateMessages Method |
Namespace:
Arsenal.ImageMounter.Extensions
Assembly:
Arsenal.ImageMounter (in Arsenal.ImageMounter.dll) Version: 1.0.0.0 (3.4.140.0)
Syntax public static IEnumerable<string> EnumerateMessages(
this Exception ex
)
<ExtensionAttribute>
Public Shared Function EnumerateMessages (
ex As Exception
) As IEnumerable(Of String)
public:
[ExtensionAttribute]
static IEnumerable<String^>^ EnumerateMessages(
Exception^ ex
)
[<ExtensionAttribute>]
static member EnumerateMessages :
ex : Exception -> IEnumerable<string>
Parameters
- ex
- Type: SystemException
Return Value
Type:
IEnumerableStringUsage 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).
See Also