次の方法で共有


UserException Class

 

Represents errors that occur with the User Provider.

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

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.WindowsServerSolutions.Users.UserException

Syntax

[SerializableAttribute]
public class UserException : Exception
[SerializableAttribute]
public ref class UserException : Exception
<SerializableAttribute>
Public Class UserException
    Inherits Exception

Constructors

Name Description
System_CAPS_pubmethod UserException()

Initializes a new instance of the UserException class.

System_CAPS_protmethod UserException(SerializationInfo, StreamingContext)

Initializes a new instance of the UserException class.

System_CAPS_pubmethod UserException(String)

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

System_CAPS_pubmethod UserException(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 UserException(String, Exception, Int32)

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

System_CAPS_pubmethod UserException(String, Exception, Int32, UserCustomExceptionCode)

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

System_CAPS_pubmethod UserException(String, Exception, UserCustomExceptionCode)

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

System_CAPS_pubmethod UserException(String, Int32)

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

System_CAPS_pubmethod UserException(String, Int32, UserCustomExceptionCode)

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

System_CAPS_pubmethod UserException(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 Data

(Inherited from Exception.)

System_CAPS_pubproperty ErrorCode

Gets the error code for the exception.

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from 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 GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Creates and returns a string representation of the current exception.(Overrides Exception.ToString().)

Events

Name Description
System_CAPS_protevent SerializeObjectState

(Inherited from Exception.)

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