DispatcherSynchronizationBehavior 构造函数
定义
初始化 DispatcherSynchronizationBehavior 类的新实例。Initializes a new instance of the DispatcherSynchronizationBehavior class.
重载
| DispatcherSynchronizationBehavior() |
初始化 DispatcherSynchronizationBehavior 类的新实例。Initializes a new instance of the DispatcherSynchronizationBehavior class. |
| DispatcherSynchronizationBehavior(Boolean, Int32) |
初始化 DispatcherSynchronizationBehavior 类的新实例。Initializes a new instance of the DispatcherSynchronizationBehavior class. |
DispatcherSynchronizationBehavior()
初始化 DispatcherSynchronizationBehavior 类的新实例。Initializes a new instance of the DispatcherSynchronizationBehavior class.
public:
DispatcherSynchronizationBehavior();
public DispatcherSynchronizationBehavior ();
Public Sub New ()
适用于
DispatcherSynchronizationBehavior(Boolean, Int32)
初始化 DispatcherSynchronizationBehavior 类的新实例。Initializes a new instance of the DispatcherSynchronizationBehavior class.
public:
DispatcherSynchronizationBehavior(bool asynchronousSendEnabled, int maxPendingReceives);
public DispatcherSynchronizationBehavior (bool asynchronousSendEnabled, int maxPendingReceives);
new System.ServiceModel.Description.DispatcherSynchronizationBehavior : bool * int -> System.ServiceModel.Description.DispatcherSynchronizationBehavior
Public Sub New (asynchronousSendEnabled As Boolean, maxPendingReceives As Integer)
参数
- asynchronousSendEnabled
- Boolean
一个指定是否启用异步发送行为的值。A value that specifies whether an asynchronous send behavior is enabled.
- maxPendingReceives
- Int32
一个指定挂起接收的最大数量的值。A value that specifies the maximum number of pending receives.