Click or drag to resize
MqReceiveT Method
异步接收

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public void Receive<T>(
	int maxThreadSize,
	Action<T> action
)

Parameters

maxThreadSize
Type: SystemInt32

[Missing <param name="maxThreadSize"/> documentation for "M:Adf.Mq.Receive``1(System.Int32,System.Action{``0})"]

action
Type: SystemActionT

[Missing <param name="action"/> documentation for "M:Adf.Mq.Receive``1(System.Int32,System.Action{``0})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Adf.Mq.Receive``1(System.Int32,System.Action{``0})"]

Exceptions
ExceptionCondition
MqExceptionMqException 已调用过 Receive了
MessageQueueException System.Messaging.MessageQueueException
See Also