다음을 통해 공유


EntityConnection.ConnectionTimeout 속성

정의

연결을 설정할 때 연결 시도를 끝내고 오류를 생성하기 전까지 대기할 시간(초)을 가져옵니다.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
public override int ConnectionTimeout { get; }
member this.ConnectionTimeout : int
Public Overrides ReadOnly Property ConnectionTimeout As Integer

속성 값

연결이 열리기 전까지 대기할 시간(초)입니다. 기본값은 기본 데이터 공급자의 기본 제한 시간입니다.

특성

예외

설정한 값이 0보다 작은 경우

적용 대상