Share via


SPWcfServiceSettings.MaxBufferSize Property

Gets or sets the maximum size of the buffer.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property MaxBufferSize As Integer
    Get
    Set
'Usage
Dim instance As SPWcfServiceSettings
Dim value As Integer

value = instance.MaxBufferSize

instance.MaxBufferSize = value
public int MaxBufferSize { get; set; }

Property Value

Type: System.Int32
The maximum size of the buffer, in bytes. This value is applied only when it is greater than zero and when the TransferMode enumeration is not set to Buffered. When TransferMode is set to Buffered, the MaxReceivedMessageSize property is used to specify the maximum size of the buffer.

See Also

Reference

SPWcfServiceSettings Class

SPWcfServiceSettings Members

Microsoft.SharePoint.Administration Namespace