'Declaration Public Overloads Function ReceivePayload(Of PayloadType As {New, SSHPacketPayload})( _ ByVal packetIOManager As SSHPacketIOManager, _ ByVal timeout As Integer, _ ByVal throwTimeoutException As Boolean, _ ByVal cancelReceive As WaitHandle, _ ByVal trace As Boolean _ ) As PayloadType
'Usage Dim instance As SSHConnectionProtocolChannel Dim packetIOManager As SSHPacketIOManager Dim timeout As Integer Dim throwTimeoutException As Boolean Dim cancelReceive As WaitHandle Dim trace As Boolean Dim value As PayloadType value = instance.ReceivePayload(Of PayloadType)(packetIOManager, timeout, throwTimeoutException, cancelReceive, trace)
public PayloadType ReceivePayload<PayloadType>( SSHPacketIOManager packetIOManager, int timeout, bool throwTimeoutException, WaitHandle cancelReceive, bool trace ) where PayloadType: new(), SSHPacketPayload
Parameters
- packetIOManager
- timeout
- throwTimeoutException
- cancelReceive
- trace
Type Parameters
- PayloadType