共用方式為


NetNamedPipeBinding.MaxReceivedMessageSize 屬性

定義

取得或設定由繫結處理之接收訊息的大小上限 (以位元組為單位)。

public:
 property long MaxReceivedMessageSize { long get(); void set(long value); };
public long MaxReceivedMessageSize { get; set; }
member this.MaxReceivedMessageSize : int64 with get, set
Public Property MaxReceivedMessageSize As Long

屬性值

由繫結處理之接收訊息的大小上限,以位元組為單位。 預設值為 65,536 位元組。

範例

下列範例會示範如何取得 MaxReceivedMessageSize 值。

long maxReceivedMessageSize =
    binding.MaxReceivedMessageSize;

適用於