OptimisticConcurrencyException 클래스
정의
낙관적 동시성 위반이 발생했을 때 throw되는 예외입니다.The exception that is thrown when an optimistic concurrency violation occurs.
public ref class OptimisticConcurrencyException sealed : System::Data::UpdateException
[System.Serializable]
public sealed class OptimisticConcurrencyException : System.Data.UpdateException
[<System.Serializable>]
type OptimisticConcurrencyException = class
inherit UpdateException
Public NotInheritable Class OptimisticConcurrencyException
Inherits UpdateException
- 상속
- 특성
설명
코드의 예외를 처리하는 방법에 대한 자세한 내용은 Exception을 참조하십시오.For more information about how to handle exceptions in your code, see Exception.
생성자
OptimisticConcurrencyException() |
OptimisticConcurrencyException의 새 인스턴스를 초기화합니다.Initializes a new instance of OptimisticConcurrencyException. |
OptimisticConcurrencyException(String) |
특수화된 오류 메시지를 사용하여 OptimisticConcurrencyException의 새 인스턴스를 초기화합니다.Initializes a new instance of OptimisticConcurrencyException with a specialized error message. |
OptimisticConcurrencyException(String, Exception) |
지정된 오류 메시지 및 내부 예외에 대한 참조를 사용하는 OptimisticConcurrencyException의 새 인스턴스를 초기화합니다.Initializes a new instance of OptimisticConcurrencyException that uses a specified error message and a reference to the inner exception. |
OptimisticConcurrencyException(String, Exception, IEnumerable<ObjectStateEntry>) |
지정된 오류 메시지, 내부 예외에 대한 참조, 열거할 수 있는 OptimisticConcurrencyException 개체 컬렉션 등을 사용하는 ObjectStateEntry의 새 인스턴스를 초기화합니다.Initializes a new instance of OptimisticConcurrencyException that uses a specified error message, a reference to the inner exception, and an enumerable collection of ObjectStateEntry objects. |
속성
Data |
예외에 대한 사용자 정의 정보를 추가로 제공하는 키/값 쌍 컬렉션을 가져옵니다.Gets a collection of key/value pairs that provide additional user-defined information about the exception. (다음에서 상속됨 Exception) |
HelpLink |
이 예외와 연결된 도움말 파일에 대한 링크를 가져오거나 설정합니다.Gets or sets a link to the help file associated with this exception. (다음에서 상속됨 Exception) |
HResult |
특정 예외에 할당된 코드화된 숫자 값인 HRESULT를 가져오거나 설정합니다.Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (다음에서 상속됨 Exception) |
InnerException |
현재 예외를 발생시킨 Exception 인스턴스를 가져옵니다.Gets the Exception instance that caused the current exception. (다음에서 상속됨 Exception) |
Message |
현재 예외를 설명하는 메시지를 가져옵니다.Gets a message that describes the current exception. (다음에서 상속됨 Exception) |
Source |
오류를 발생시키는 애플리케이션 또는 개체의 이름을 가져오거나 설정합니다.Gets or sets the name of the application or the object that causes the error. (다음에서 상속됨 Exception) |
StackTrace |
호출 스택의 직접 실행 프레임 문자열 표현을 가져옵니다.Gets a string representation of the immediate frames on the call stack. (다음에서 상속됨 Exception) |
StateEntries |
이 ObjectStateEntry에 대한 UpdateException 개체를 가져옵니다.Gets the ObjectStateEntry objects for this UpdateException. (다음에서 상속됨 UpdateException) |
TargetSite |
현재 예외를 throw하는 메서드를 가져옵니다.Gets the method that throws the current exception. (다음에서 상속됨 Exception) |
메서드
Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다.Determines whether the specified object is equal to the current object. (다음에서 상속됨 Object) |
GetBaseException() |
파생 클래스에서 재정의된 경우 하나 이상의 후속 예외의 근본 원인이 되는 Exception 을 반환합니다.When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (다음에서 상속됨 Exception) |
GetHashCode() |
기본 해시 함수로 작동합니다.Serves as the default hash function. (다음에서 상속됨 Object) |
GetObjectData(SerializationInfo, StreamingContext) |
파생 클래스에서 재정의된 경우 예외에 관한 정보를 SerializationInfo 에 설정합니다.When overridden in a derived class, sets the SerializationInfo with information about the exception. (다음에서 상속됨 Exception) |
GetType() |
현재 인스턴스의 런타임 형식을 가져옵니다.Gets the runtime type of the current instance. (다음에서 상속됨 Exception) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
ToString() |
현재 예외에 대한 문자열 표현을 만들고 반환합니다.Creates and returns a string representation of the current exception. (다음에서 상속됨 Exception) |
이벤트
SerializeObjectState |
예외에 대한 serialize된 데이터가 들어 있는 예외 상태 개체가 만들어지도록 예외가 serialize될 때 발생합니다.Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (다음에서 상속됨 Exception) |