Partager via


UserFault 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.UserFault

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod UserFault()

Initializes a new instance of the UserFault class.

System_CAPS_pubmethod UserFault(String, Exception)

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

System_CAPS_pubmethod UserFault(String, Int32)

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

System_CAPS_pubmethod UserFault(String, UserCustomExceptionCode)

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

Properties

Name Description
System_CAPS_pubproperty ExceptionCode

Gets the error code for the exception.

System_CAPS_pubproperty Message

Gets the message for the exception.

System_CAPS_pubproperty UserCode

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