Partager via


UserException Constructor (String, Int32)

 

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 UserException(
    string Message,
    int errorCode
)
public:
UserException(
    String^ Message,
    int errorCode
)
Public Sub New (
    Message As String,
    errorCode As Integer
)

Parameters

  • Message
    Type: System.String

    The error message that explains the reason for the exception.

See Also

UserException Overload
UserException Class
Microsoft.WindowsServerSolutions.Users Namespace

Return to top