'Declaration Public Overloads Function BeginReceivePayload( _ ByVal callback As AsyncCallback, _ ByVal state As Object, _ ByVal match As Predicate(Of SSHPacketPayload), _ ByVal timeout As Integer, _ ByVal cancelReceive As WaitHandle, _ ByVal trace As Boolean, _ ByVal ParamArray payloadTypes() As Type _ ) As IAsyncResult
'Usage Dim instance As SSHPacketIOManager Dim callback As AsyncCallback Dim state As Object Dim match As Predicate(Of SSHPacketPayload) Dim timeout As Integer Dim cancelReceive As WaitHandle Dim trace As Boolean Dim payloadTypes() As Type Dim value As IAsyncResult value = instance.BeginReceivePayload(callback, state, match, timeout, cancelReceive, trace, payloadTypes)
public IAsyncResult BeginReceivePayload( AsyncCallback callback, object state, Predicate<SSHPacketPayload> match, int timeout, WaitHandle cancelReceive, bool trace, params Type[] payloadTypes )
Parameters
- callback
- state
- match
- timeout
- cancelReceive
- trace
- payloadTypes