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