ProviderException Constructor (Int32, String)
Initializes a new instance of the ProviderException class with the specified error code and message text.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly: ProviderFramework (in ProviderFramework.dll)
Syntax
public ProviderException(
int errorCode,
string text
)
public:
ProviderException(
int errorCode,
String^ text
)
Public Sub New (
errorCode As Integer,
text As String
)
Parameters
errorCode
Type: System.Int32The error code that is associated to the exception.
text
Type: System.StringThe description text that is displayed with the exception.
See Also
ProviderException Overload
ProviderException Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top