MessagingOptions.MaxMessageBodySize Property

Definition

The maximum size, in bytes, of the body for a message. The runtime will forcibly close the connection if the body size is greater than this value.

public int MaxMessageBodySize { get; set; }
member this.MaxMessageBodySize : int with get, set
Public Property MaxMessageBodySize As Integer

Property Value

The maximum message body size is 100 MB by default.

Applies to