Partager via


UserExceptionFault Constructor (String, UserCustomExceptionCode)

 

Initializes a new instance of the UserException class with the specified error message and the specified error code.

Namespace:   Microsoft.WindowsServerSolutions.Users
Assembly:  UserObjectModel (in UserObjectModel.dll)

Syntax

public UserExceptionFault(
    string msg,
    UserCustomExceptionCode code
)
public:
UserExceptionFault(
    String^ msg,
    UserCustomExceptionCode code
)
Public Sub New (
    msg As String,
    code As UserCustomExceptionCode
)

Parameters

  • msg
    Type: System.String

    The error message that explains the reason for the exception.

See Also

UserExceptionFault Overload
UserExceptionFault Class
Microsoft.WindowsServerSolutions.Users Namespace

Return to top