Share via


DispatcherSynchronizationElement.MaxPendingReceives 屬性

定義

取得或設定可由發送器進行緩衝之接收訊息的上限數。

public:
 property int MaxPendingReceives { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxPendingReceives", DefaultValue=1)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxPendingReceives { get; set; }
[<System.Configuration.ConfigurationProperty("maxPendingReceives", DefaultValue=1)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxPendingReceives : int with get, set
Public Property MaxPendingReceives As Integer

屬性值

Int32

表示訊息數量的數字。

屬性

適用於