Export (0) Print
Expand All

ProviderException Constructor (String, Exception)

This API supports the .NET Framework 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft