Overlapped コンストラクター

定義

Overlapped クラスの新しいインスタンスを初期化します。

オーバーロード

Overlapped()

Overlapped クラスの新しい空のインスタンスを初期化します。

Overlapped(Int32, Int32, Int32, IAsyncResult)
互換性のために残されています。
互換性のために残されています。
互換性のために残されています。
互換性のために残されています。

ファイル位置、I/O 操作が完了したときに通知されるイベントの 32 ビット整数ハンドル、および操作結果を返すためのインターフェイスを指定して、Overlapped クラスの新しいインスタンスを初期化します。

Overlapped(Int32, Int32, IntPtr, IAsyncResult)

ファイル位置、I/O 操作が完了したときに通知されるイベントのハンドル、および操作結果を返すためのインターフェイスを指定して、Overlapped クラスの新しいインスタンスを初期化します。

Overlapped()

Overlapped クラスの新しい空のインスタンスを初期化します。

public:
 Overlapped();
public Overlapped ();
Public Sub New ()

適用対象

Overlapped(Int32, Int32, Int32, IAsyncResult)

注意事項

This constructor is not 64-bit compatible. Use the constructor that takes an IntPtr for the event handle. https://go.microsoft.com/fwlink/?linkid=14202

注意事項

This constructor is not 64-bit compatible and has been deprecated. Use the constructor that accepts an IntPtr for the event handle instead.

注意事項

This constructor is not 64-bit compatible. Use the constructor that takes an IntPtr for the event handle. http://go.microsoft.com/fwlink/?linkid=14202

注意事項

Not 64bit compatible. Please use the constructor that takes IntPtr for the event handle

ファイル位置、I/O 操作が完了したときに通知されるイベントの 32 ビット整数ハンドル、および操作結果を返すためのインターフェイスを指定して、Overlapped クラスの新しいインスタンスを初期化します。

public:
 Overlapped(int offsetLo, int offsetHi, int hEvent, IAsyncResult ^ ar);
[System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  https://go.microsoft.com/fwlink/?linkid=14202")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult? ar);
[System.Obsolete("This constructor is not 64-bit compatible and has been deprecated. Use the constructor that accepts an IntPtr for the event handle instead.")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult? ar);
[System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  http://go.microsoft.com/fwlink/?linkid=14202")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult ar);
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult ar);
[System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  https://go.microsoft.com/fwlink/?linkid=14202")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult ar);
[System.Obsolete("Not 64bit compatible.  Please use the constructor that takes IntPtr for the event handle")]
public Overlapped (int offsetLo, int offsetHi, int hEvent, IAsyncResult ar);
[<System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  https://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
[<System.Obsolete("This constructor is not 64-bit compatible and has been deprecated. Use the constructor that accepts an IntPtr for the event handle instead.")>]
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
[<System.Obsolete("This constructor is not 64-bit compatible.  Use the constructor that takes an IntPtr for the event handle.  http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
[<System.Obsolete("Not 64bit compatible.  Please use the constructor that takes IntPtr for the event handle")>]
new System.Threading.Overlapped : int * int * int * IAsyncResult -> System.Threading.Overlapped
Public Sub New (offsetLo As Integer, offsetHi As Integer, hEvent As Integer, ar As IAsyncResult)

パラメーター

offsetLo
Int32

転送を開始するファイル位置の下位ワード。

offsetHi
Int32

転送を開始するファイル位置の上位ワード。

hEvent
Int32

I/O 操作が完了したときに通知されるイベントのハンドル。

ar
IAsyncResult

IAsyncResult インターフェイスを実装し、I/O 操作に関するステータス情報を提供するオブジェクト。

属性

注釈

このプロパティを WaitHandle.Handle 使用して、クラスから派生するすべてのマネージド同期イベントのハンドルを WaitHandle 取得します。

実装によって IAsyncResult 、I/O 操作の状態情報が提供されます。 パラメーター内のコンストラクターに渡し、後で ar プロパティを AsyncResult 使用して取得します。 またはUnsafePackメソッドにコールバック メソッドが指定されているPack場合、コールバックは受け取る構造体をNativeOverlapped開梱することによって取得IAsyncResultできます。

適用対象

Overlapped(Int32, Int32, IntPtr, IAsyncResult)

ファイル位置、I/O 操作が完了したときに通知されるイベントのハンドル、および操作結果を返すためのインターフェイスを指定して、Overlapped クラスの新しいインスタンスを初期化します。

public:
 Overlapped(int offsetLo, int offsetHi, IntPtr hEvent, IAsyncResult ^ ar);
public Overlapped (int offsetLo, int offsetHi, IntPtr hEvent, IAsyncResult? ar);
public Overlapped (int offsetLo, int offsetHi, IntPtr hEvent, IAsyncResult ar);
new System.Threading.Overlapped : int * int * nativeint * IAsyncResult -> System.Threading.Overlapped
Public Sub New (offsetLo As Integer, offsetHi As Integer, hEvent As IntPtr, ar As IAsyncResult)

パラメーター

offsetLo
Int32

転送を開始するファイル位置の下位ワード。

offsetHi
Int32

転送を開始するファイル位置の上位ワード。

hEvent
IntPtr

nativeint

I/O 操作が完了したときに通知されるイベントのハンドル。

ar
IAsyncResult

IAsyncResult インターフェイスを実装し、I/O 操作に関するステータス情報を提供するオブジェクト。

注釈

クラスから WaitHandle 派生するマネージド同期オブジェクトのハンドルを取得するには、プロパティを WaitHandle.SafeWaitHandle 使用してオブジェクトを取得 SafeWaitHandle し、メソッドを DangerousGetHandle 呼び出します。

実装によって IAsyncResult 、I/O 操作の状態情報が提供されます。 パラメーター内のコンストラクターに渡し、後で ar プロパティを AsyncResult 使用して取得します。 またはUnsafePackメソッドにコールバック メソッドが指定されているPack場合、コールバックは受け取る構造体をNativeOverlapped開梱することによって取得IAsyncResultできます。

適用対象