共用方式為


IConnection.BeginRead 方法

定義

public:
 System::Runtime::AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout, Action<System::Object ^> ^ callback, System::Object ^ state);
public System.Runtime.AsyncCompletionResult BeginRead (int offset, int size, TimeSpan timeout, Action<object> callback, object state);
abstract member BeginRead : int * int * TimeSpan * Action<obj> * obj -> System.Runtime.AsyncCompletionResult
Public Function BeginRead (offset As Integer, size As Integer, timeout As TimeSpan, callback As Action(Of Object), state As Object) As AsyncCompletionResult

參數

offset
Int32
size
Int32
timeout
TimeSpan
callback
Action<Object>
state
Object

傳回

適用於