C# 클래스 Spring.Transaction.Interceptor.RollbackRuleAttribute

상속: System.Attribute
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
RollbackOnSystemExceptions RollbackRuleAttribute

공개 메소드들

메소드 설명
Equals ( RollbackRuleAttribute rollbackRuleAttribute ) : bool

Strongly typed Equals() implementation.

Equals ( object obj ) : bool

Override of System.Object.Equals(object).

GetDepth ( Type exceptionType ) : int

Return the depth to the matching superclass execption System.Type.

A return value of 0 means that the exceptionType matches.

GetDepth ( object exception ) : int

Return the depth to the matching superclass execption System.Type.

A return value of 0 means that the exceptions System.Type matches.

GetHashCode ( ) : int

Override of System.Object.GetHashCode.

RollbackRuleAttribute ( Type exceptionType ) : System

Creates a new instance of the Spring.Transaction.Interceptor.RollbackRuleAttribute class for the suplied exceptionType.

The exception class must be System.Exception or a subclass.

This is the preferred way to construct a Spring.Transaction.Interceptor.RollbackRuleAttribute, matching the exception class and subclasses.

RollbackRuleAttribute ( string exceptionName ) : System

Creates a new instance of the Spring.Transaction.Interceptor.RollbackRuleAttribute class for the named exceptionName.

As always, the exceptionName should be the full assembly qualified version.

ToString ( ) : string

Returns a System.String representation of this instance.

비공개 메소드들

메소드 설명
getDepth ( Type exceptionType, int depth ) : int

메소드 상세

Equals() 공개 메소드

Strongly typed Equals() implementation.
public Equals ( RollbackRuleAttribute rollbackRuleAttribute ) : bool
rollbackRuleAttribute RollbackRuleAttribute /// The to compare. ///
리턴 bool

Equals() 공개 메소드

Override of System.Object.Equals(object).
public Equals ( object obj ) : bool
obj object The object to compare.
리턴 bool

GetDepth() 공개 메소드

Return the depth to the matching superclass execption System.Type.
A return value of 0 means that the exceptionType matches.
public GetDepth ( Type exceptionType ) : int
exceptionType System.Type /// The of exception to find. ///
리턴 int

GetDepth() 공개 메소드

Return the depth to the matching superclass execption System.Type.
A return value of 0 means that the exceptions System.Type matches.
public GetDepth ( object exception ) : int
exception object /// The exception object to find. ///
리턴 int

GetHashCode() 공개 메소드

Override of System.Object.GetHashCode.
public GetHashCode ( ) : int
리턴 int

RollbackRuleAttribute() 공개 메소드

Creates a new instance of the Spring.Transaction.Interceptor.RollbackRuleAttribute class for the suplied exceptionType.

The exception class must be System.Exception or a subclass.

This is the preferred way to construct a Spring.Transaction.Interceptor.RollbackRuleAttribute, matching the exception class and subclasses.

public RollbackRuleAttribute ( Type exceptionType ) : System
exceptionType System.Type /// The class that will trigger a rollback. ///
리턴 System

RollbackRuleAttribute() 공개 메소드

Creates a new instance of the Spring.Transaction.Interceptor.RollbackRuleAttribute class for the named exceptionName.

As always, the exceptionName should be the full assembly qualified version.

public RollbackRuleAttribute ( string exceptionName ) : System
exceptionName string The exception name.
리턴 System

ToString() 공개 메소드

Returns a System.String representation of this instance.
public ToString ( ) : string
리턴 string

프로퍼티 상세

RollbackOnSystemExceptions 공개적으로 정적으로 프로퍼티

Canonical instance representing default behavior for rolling back on all System.Exceptions.
public static RollbackRuleAttribute,Spring.Transaction.Interceptor RollbackOnSystemExceptions
리턴 RollbackRuleAttribute