Partager via


UserExceptionFault Class

 

Represents errors that occur with the User Provider.

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

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Users.UserExceptionFault

Syntax

[DataContractAttribute]
public class UserExceptionFault
[DataContractAttribute]
public ref class UserExceptionFault 
<DataContractAttribute>
Public Class UserExceptionFault

Constructors

Name Description
System_CAPS_pubmethod UserExceptionFault(String, Exception)

Initializes a new instance of the UserException class with the specified error message and a reference to the inner exception that is the cause of this exception.

System_CAPS_pubmethod UserExceptionFault(String, Int32)

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

System_CAPS_pubmethod UserExceptionFault(String, Int32, UserCustomExceptionCode)

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

System_CAPS_pubmethod UserExceptionFault(String, UserCustomExceptionCode)

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

Properties

Name Description
System_CAPS_pubproperty ErrorCode

Gets the error code for the exception.

System_CAPS_pubproperty Message

Gets the message for the exception.

System_CAPS_pubproperty UserErrorCode

Gets the UserCustomExceptionCode object.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Users Namespace

Return to top