UdpDataAdapterTesterRun 方法
模拟测试运行发送
命名空间: TouchSocket.Sockets程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public TimeSpan Run(
ReadOnlyMemory<byte> memory,
int testCount,
int expectedCount,
int millisecondsTimeout
)
Public Function Run (
memory As ReadOnlyMemory(Of Byte),
testCount As Integer,
expectedCount As Integer,
millisecondsTimeout As Integer
) As TimeSpan
member Run :
memory : ReadOnlyMemory<byte> *
testCount : int *
expectedCount : int *
millisecondsTimeout : int -> TimeSpan
- memory ReadOnlyMemoryByte
- 待测试的内存块
- testCount Int32
- 测试次数
- expectedCount Int32
- 期待测试次数
- millisecondsTimeout Int32
- 超时时间(毫秒)
TimeSpan测试运行的时间差