InstrumentationException Constructor (String, Exception)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new InstrumentationException class with the specified string and exception.

Namespace:   System.Management.Instrumentation
Assembly:  System.Core (in System.Core.dll)

new : 
        message:string *
        innerException:Exception -> InstrumentationException

Parameters

message
Type: System.String

Message that describes the exception.

innerException
Type: System.Exception

The Exception instance that caused the current exception.

.NET Framework
Available since 3.5
Return to top
Show: