Socket.UseOnlyOverlappedIO 속성

정의

주의

UseOnlyOverlappedIO has been deprecated and is not supported.

소켓이 겹치는 I/O 모드만 사용해야 하는지 여부를 지정하는 값을 가져오거나 설정합니다. .NET 5 이상(.NET Core 버전 포함)에서 값은 항상 false입니다.

public:
 property bool UseOnlyOverlappedIO { bool get(); void set(bool value); };
public bool UseOnlyOverlappedIO { get; set; }
[System.Obsolete("UseOnlyOverlappedIO has been deprecated and is not supported.")]
public bool UseOnlyOverlappedIO { get; set; }
member this.UseOnlyOverlappedIO : bool with get, set
[<System.Obsolete("UseOnlyOverlappedIO has been deprecated and is not supported.")>]
member this.UseOnlyOverlappedIO : bool with get, set
Public Property UseOnlyOverlappedIO As Boolean

속성 값

true.NET Framework 에서 가 Socket 겹치는 I/O만 사용하는 경우 이고, false그렇지 않으면 입니다. 기본값은 false입니다.

특성

예외

소켓이 완료 포트에 바인딩된 경우

설명

.NET Framework 전용: 호출 DuplicateAndClose 하려는 의 Socket 경우 이 속성을 true 로 설정합니다. 그렇지 않으면 프레임워크가 소켓에 완료 포트를 할당할 수 있으며, 이로 인해 의 DuplicateAndClose사용이 금지됩니다.

.NET 5 이상(.NET Core 포함) 버전에서 이 속성의 값은 항상 false이며 해당 값을 변경할 수 없습니다.

적용 대상