IsolatedStorageFileStream.BeginRead メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > IsolatedStorageFileStream.BeginRead メソッドの意味・解説 

IsolatedStorageFileStream.BeginRead メソッド

非同期読み取り開始します

名前空間: System.IO.IsolatedStorage
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Overrides Function
 BeginRead ( _
    buffer As Byte(), _
    offset As Integer, _
    numBytes As Integer, _
    userCallback As AsyncCallback, _
    stateObject As Object _
) As IAsyncResult
Dim instance As IsolatedStorageFileStream
Dim buffer As Byte()
Dim offset As Integer
Dim numBytes As Integer
Dim userCallback As AsyncCallback
Dim stateObject As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginRead(buffer, offset, numBytes, userCallback, stateObject)
public override IAsyncResult BeginRead (
    byte[] buffer,
    int offset,
    int numBytes,
    AsyncCallback userCallback,
    Object stateObject
)
public:
virtual IAsyncResult^ BeginRead (
    array<unsigned char>^ buffer, 
    int offset, 
    int numBytes, 
    AsyncCallback^ userCallback, 
    Object^ stateObject
) override
public IAsyncResult BeginRead (
    byte[] buffer, 
    int offset, 
    int numBytes, 
    AsyncCallback userCallback, 
    Object stateObject
)
public override function BeginRead (
    buffer : byte[], 
    offset : int, 
    numBytes : int, 
    userCallback : AsyncCallback, 
    stateObject : Object
) : IAsyncResult

パラメータ

buffer

データ読み取るバッファ

offset

読み取り開始位置を示す buffer 内のバイト オフセット

numBytes

読み取る最大バイト数。

userCallback

非同期読み取り操作完了したときに呼び出すメソッド。このパラメータオプションです。

stateObject

非同期読み取りの状態。

戻り値
非同期読み取りを表す IAsyncResult オブジェクト。まだ保留状態の場合あります読み取ったバイト数を確認するには、IAsyncResult をこのストリームの EndRead メソッドに渡す必要があります。この操作は、BeginRead呼び出した同じコード使用するか、または BeginRead渡されコールバックで行うことができます

例外例外
解説解説

ストリーム現在位置は、非同期読み込みまたは書き込み発行されたときに更新されます。I/O 操作実行時ではありません。

読み取られたバイト数を検出するには、この IAsyncResult で EndRead を呼び出す必要があります

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IsolatedStorageFileStream クラス
IsolatedStorageFileStream メンバ
System.IO.IsolatedStorage 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からIsolatedStorageFileStream.BeginRead メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からIsolatedStorageFileStream.BeginRead メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からIsolatedStorageFileStream.BeginRead メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

IsolatedStorageFileStream.BeginRead メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IsolatedStorageFileStream.BeginRead メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS