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