共用方式為


NetTcpBinding.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;

適用於