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