InstanceNotFoundException 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 instance of the InstanceNotFoundException class with the specified error message and the inner exception.

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

public InstanceNotFoundException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A string that contains the error message that explains the reason for the exception.

innerException
Type: System.Exception

The Exception that caused the current exception to be thrown.

.NET Framework
Available since 3.5
Return to top
Show: