次の方法で共有


Overlapped コンストラクター

定義

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

オーバーロード

名前 説明
Overlapped()

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

Overlapped(Int32, Int32, Int32, IAsyncResult)
古い.
古い.
古い.

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

Overlapped(Int32, Int32, IntPtr, IAsyncResult)

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

Overlapped()

ソース:
Overlapped.cs
ソース:
Overlapped.cs
ソース:
Overlapped.cs
ソース:
Overlapped.cs
ソース:
Overlapped.cs

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

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

適用対象

Overlapped(Int32, Int32, Int32, IAsyncResult)

ソース:
Overlapped.cs
ソース:
Overlapped.cs
ソース:
Overlapped.cs
ソース:
Overlapped.cs
ソース:
Overlapped.cs

注意事項

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. https://go.microsoft.com/fwlink/?linkid=14202

注意事項

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

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

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.  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.  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("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.  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.  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
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 プロパティを使用して取得します。 PackメソッドまたはUnsafePackメソッドにコールバック メソッドが指定されている場合、コールバックは、受信したNativeOverlapped構造体をアンパックすることで、IAsyncResultを取得できます。

適用対象

Overlapped(Int32, Int32, IntPtr, IAsyncResult)

ソース:
Overlapped.cs
ソース:
Overlapped.cs
ソース:
Overlapped.cs
ソース:
Overlapped.cs
ソース:
Overlapped.cs

指定したファイル位置、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 プロパティを使用して取得します。 PackメソッドまたはUnsafePackメソッドにコールバック メソッドが指定されている場合、コールバックは、受信したNativeOverlapped構造体をアンパックすることで、IAsyncResultを取得できます。

適用対象