一款简单易用的基础网络通讯组件库。

SingleStreamDataAdapterTesterTAdapter, TRequestRun(Byte, Int32, Int32, Int32, Int32, Int32) 方法

模拟测试运行发送

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public TimeSpan Run(
	byte[] buffer,
	int offset,
	int length,
	int testCount,
	int expectedCount,
	int millisecondsTimeout
)

参数

buffer  Byte

[缺少 "M:TouchSocket.Core.SingleStreamDataAdapterTester`2.Run(System.Byte[],System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="buffer"/> 文档]

offset  Int32

[缺少 "M:TouchSocket.Core.SingleStreamDataAdapterTester`2.Run(System.Byte[],System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="offset"/> 文档]

length  Int32

[缺少 "M:TouchSocket.Core.SingleStreamDataAdapterTester`2.Run(System.Byte[],System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="length"/> 文档]

testCount  Int32
测试次数
expectedCount  Int32
期待测试次数
millisecondsTimeout  Int32
超时

返回值

TimeSpan

[缺少 "M:TouchSocket.Core.SingleStreamDataAdapterTester`2.Run(System.Byte[],System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <returns> 文档]

参见