Socket.UseOnlyOverlappedIO 속성

정의

주의

UseOnlyOverlappedIO has been deprecated and is not supported.

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

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

속성 값

Boolean

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

특성

예외

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

설명

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

.NET 5 이상(.NET Core 포함) 버전에서는 이 속성의 값이 항상 false사용되므로 해당 값을 변경할 수 없습니다.

적용 대상