Overlapped 클래스
정의
Overlapped 인스턴스의 정보를 NativeOverlapped 구조체로 전송하기 위한 메서드를 포함하여 Win32 OVERLAPPED
구조체의 관리되는 표현을 제공합니다.Provides a managed representation of a Win32 OVERLAPPED
structure, including methods to transfer information from an Overlapped instance to a NativeOverlapped structure.
public ref class Overlapped
public class Overlapped
[System.Runtime.InteropServices.ComVisible(true)]
public class Overlapped
type Overlapped = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type Overlapped = class
Public Class Overlapped
- 상속
-
Overlapped
- 특성
설명
Pack및 UnsafePack 메서드는 개체의 정보를 Overlapped NativeOverlapped 비동기 파일 I/o에 대 한 Windows API 함수에 전달 될 수 있는 구조체로 전송 합니다.The Pack and UnsafePack methods transfer information from an Overlapped object to a NativeOverlapped structure that can be passed to Windows API functions for asynchronous file I/O. Unpack메서드는 구조체의 정보 NativeOverlapped 를 클래스의 인스턴스로 전송 합니다 Overlapped .The Unpack method transfers information from a NativeOverlapped structure to an instance of the Overlapped class.
개체의 속성에 대 한 변경 내용은 Overlapped 연결 된 구조에 영향을 주고 NativeOverlapped 그 반대의 경우도 마찬가지입니다.Changes to the properties of an Overlapped object affect its associated NativeOverlapped structure, and vice versa.
생성자
Overlapped() |
Overlapped 클래스의 비어 있는 새 인스턴스를 초기화합니다.Initializes a new, empty instance of the Overlapped class. |
Overlapped(Int32, Int32, Int32, IAsyncResult) |
사용되지 않습니다.
사용되지 않습니다.
사용되지 않습니다.
지정된 파일 위치, I/O 작업이 완료되었을 때 신호를 받는 이벤트에 대한 32비트 정수 핸들 및 작업 결과를 반환할 때 사용하는 인터페이스로 Overlapped 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the Overlapped class with the specified file position, the 32-bit integer handle to an event that is signaled when the I/O operation is complete, and an interface through which to return the results of the operation. |
Overlapped(Int32, Int32, IntPtr, IAsyncResult) |
지정된 파일 위치, I/O 작업이 완료되었을 때 신호를 받는 이벤트에 대한 핸들 및 작업 결과를 반환할 때 사용하는 인터페이스로 Overlapped 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the Overlapped class with the specified file position, the handle to an event that is signaled when the I/O operation is complete, and an interface through which to return the results of the operation. |
속성
AsyncResult |
I/O 작업에 대한 상태 정보를 제공하는 개체를 가져오거나 설정합니다.Gets or sets the object that provides status information on the I/O operation. |
EventHandle |
사용되지 않습니다.
사용되지 않습니다.
사용되지 않습니다.
I/O 작업이 완료되었을 때 신호를 받는 동기화 이벤트에 대한 32비트 정수 핸들을 가져오거나 설정합니다.Gets or sets the 32-bit integer handle to a synchronization event that is signaled when the I/O operation is complete. |
EventHandleIntPtr |
I/O 작업이 완료되었을 때 신호를 받는 동기화 이벤트에 대한 핸들을 가져오거나 설정합니다.Gets or sets the handle to the synchronization event that is signaled when the I/O operation is complete. |
OffsetHigh |
전송을 시작할 파일 위치의 상위 워드를 가져오거나 설정합니다.Gets or sets the high-order word of the file position at which to start the transfer. 파일 위치는 파일의 시작 부분에서 바이트 오프셋만큼 떨어져 있습니다.The file position is a byte offset from the start of the file. |
OffsetLow |
전송을 시작할 파일 위치의 하위 워드를 가져오거나 설정합니다.Gets or sets the low-order word of the file position at which to start the transfer. 파일 위치는 파일의 시작 부분에서 바이트 오프셋만큼 떨어져 있습니다.The file position is a byte offset from the start of the file. |
메서드
Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다.Determines whether the specified object is equal to the current object. (다음에서 상속됨 Object) |
Free(NativeOverlapped*) |
Pack 메서드에서 할당하는 중첩된 네이티브 구조체에 연결된 관리되지 않는 메모리를 확보합니다.Frees the unmanaged memory associated with a native overlapped structure allocated by the Pack method. |
GetHashCode() |
기본 해시 함수로 작동합니다.Serves as the default hash function. (다음에서 상속됨 Object) |
GetType() |
현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance. (다음에서 상속됨 Object) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
Pack(IOCompletionCallback) |
사용되지 않습니다.
사용되지 않습니다.
사용되지 않습니다.
비동기 I/O 작업이 완료될 때 호출할 대리자를 지정하여 현재 인스턴스를 NativeOverlapped 구조체로 압축합니다.Packs the current instance into a NativeOverlapped structure, specifying the delegate to be invoked when the asynchronous I/O operation is complete. |
Pack(IOCompletionCallback, Object) |
비동기 I/O 작업이 완료될 때 호출되는 대리자와 버퍼 역할을 하는 관리되는 개체를 지정하여, 현재 인스턴스를 NativeOverlapped 구조체로 압축합니다.Packs the current instance into a NativeOverlapped structure, specifying a delegate that is invoked when the asynchronous I/O operation is complete and a managed object that serves as a buffer. |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object. (다음에서 상속됨 Object) |
Unpack(NativeOverlapped*) |
지정된 관리되지 않는 NativeOverlapped 구조체를 관리되는 Overlapped 개체로 압축을 풉니다.Unpacks the specified unmanaged NativeOverlapped structure into a managed Overlapped object. |
UnsafePack(IOCompletionCallback) |
사용되지 않습니다.
사용되지 않습니다.
사용되지 않습니다.
비동기 I/O 작업이 완료될 때 호출할 대리자를 지정하여 현재 인스턴스를 NativeOverlapped 구조체로 압축합니다.Packs the current instance into a NativeOverlapped structure specifying the delegate to invoke when the asynchronous I/O operation is complete. 호출 스택을 전파하지는 않습니다.Does not propagate the calling stack. |
UnsafePack(IOCompletionCallback, Object) |
비동기 I/O 작업이 완료될 때 호출되는 대리자와 버퍼 역할을 하는 관리되는 개체를 지정하여, 현재 인스턴스를 NativeOverlapped 구조체로 압축합니다.Packs the current instance into a NativeOverlapped structure, specifying the delegate to invoke when the asynchronous I/O operation is complete and the managed object that serves as a buffer. 호출 스택을 전파하지는 않습니다.Does not propagate the calling stack. |