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

返回

适用于