ProviderException 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.

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a new instance of the ProviderException class.

Namespace:   System.Configuration.Provider
Assembly:  System.Configuration (in System.Configuration.dll)

public ProviderException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A message describing why this ProviderException was thrown.

innerException
Type: System.Exception

The exception that caused this ProviderException to be thrown.

.NET Framework
Available since 2.0
Return to top
Show: