語言

WebHttpEndpointElement.MaxReceivedMessageSize 屬性

定義

接收或設定網路服務可接收的最大訊息數量。

public:
 property long MaxReceivedMessageSize { long get(); void set(long value); };
[System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=65536)]
[System.Configuration.LongValidator(MinValue=1)]
public long MaxReceivedMessageSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=65536)>]
[<System.Configuration.LongValidator(MinValue=1)>]
member this.MaxReceivedMessageSize : int64 with get, set
Public Property MaxReceivedMessageSize As Long

屬性值

一個 64 位元的數字代表最大數量。

屬性

適用於