Overlapped コンストラクタ ()
アセンブリ: mscorlib (mscorlib.dll 内)


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Overlapped コンストラクタ (Int32, Int32, IntPtr, IAsyncResult)
アセンブリ: mscorlib (mscorlib.dll 内)

Public Sub New ( _ offsetLo As Integer, _ offsetHi As Integer, _ hEvent As IntPtr, _ ar As IAsyncResult _ )
Dim offsetLo As Integer Dim offsetHi As Integer Dim hEvent As IntPtr Dim ar As IAsyncResult Dim instance As New Overlapped(offsetLo, offsetHi, hEvent, ar)

WaitHandle クラスから派生するマネージ同期オブジェクトのハンドルを取得するには、WaitHandle.SafeWaitHandle プロパティを使用して SafeWaitHandle オブジェクトを取得してから、DangerousGetHandle メソッドを呼び出します。
IAsyncResult の実装により、I/O 操作に関するステータス情報が提供されます。この情報を ar パラメータのコンストラクタに渡し、後で AsyncResult プロパティを使用して取得します。Pack メソッドまたは UnsafePack メソッドにコールバック メソッドが指定されている場合、コールバックは受け取った NativeOverlapped 構造体を展開することによって IAsyncResult を取得できます。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Overlapped コンストラクタ (Int32, Int32, Int32, IAsyncResult)
メモ : このコンストラクタは、互換性のために残されています。 旧式でない代替が必要な場合は、Overlapped(Int32,Int32,IntPtr,IAsyncResult) を使用してください。
ファイル位置、I/O 操作が完了したときに通知されるイベントの 32 ビット整数ハンドル、および操作結果を返すためのインターフェイスを指定して、Overlapped クラスの新しいインスタンスを初期化します。 名前空間: System.Threadingアセンブリ: mscorlib (mscorlib.dll 内)

<ObsoleteAttribute("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 Sub New ( _ offsetLo As Integer, _ offsetHi As Integer, _ hEvent As Integer, _ ar As IAsyncResult _ )
Dim offsetLo As Integer Dim offsetHi As Integer Dim hEvent As Integer Dim ar As IAsyncResult Dim instance As New Overlapped(offsetLo, offsetHi, hEvent, ar)
[ObsoleteAttribute("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 )
[ObsoleteAttribute(L"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 )
/** @attribute ObsoleteAttribute("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 )
ObsoleteAttribute("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 function Overlapped ( offsetLo : int, offsetHi : int, hEvent : int, ar : IAsyncResult )

WaitHandle クラスから派生するマネージ同期イベンのハンドルを取得するには、WaitHandle.Handle プロパティを使用します。
IAsyncResult の実装により、I/O 操作に関するステータス情報が提供されます。この情報を ar パラメータのコンストラクタに渡し、後で AsyncResult プロパティを使用して取得します。Pack メソッドまたは UnsafePack メソッドにコールバック メソッドが指定されている場合、コールバックは受け取った NativeOverlapped 構造体を展開することによって IAsyncResult を取得できます。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Overlapped コンストラクタ

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

Weblioに収録されているすべての辞書からOverlapped コンストラクタ ()を検索する場合は、下記のリンクをクリックしてください。

- Overlapped コンストラクタ ()のページへのリンク