JunctionPolicy.MaxMessageSize Property

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets the maximum message size you can send to a queue or router created with this policy.

Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)

Usage

    Dim instance As JunctionPolicy
Dim value As Integer

value = instance.MaxMessageSize

instance.MaxMessageSize = value

Syntax

'Declaration
Public Property MaxMessageSize As Integer
public int MaxMessageSize { get; set; }
public:
property int MaxMessageSize {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaxMessageSize ()

/** @property */
public void set_MaxMessageSize (int value)
public function get MaxMessageSize () : int

public function set MaxMessageSize (value : int)

Property Value

Returns Int32. Contains the maximum message size, in kilobytes, that can be sent to the queue or router.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

JunctionPolicy Class
JunctionPolicy Members
Microsoft.ServiceBus Namespace