UserException Constructor (String, Exception, Int32)
Initializes a new instance of the UserException class with the specified error message, the specified error code, and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)
Syntax
public UserException(
string Message,
Exception InnerException,
int errorCode
)
public:
UserException(
String^ Message,
Exception^ InnerException,
int errorCode
)
Public Sub New (
Message As String,
InnerException As Exception,
errorCode As Integer
)
Parameters
Message
Type: System.StringThe error message that explains the reason for the exception.
InnerException
Type: System.ExceptionThe inner exception that is the cause of this exception.
errorCode
Type: System.Int32The error code.
See Also
UserException Overload
UserException Class
Microsoft.WindowsServerSolutions.Users Namespace
Return to top