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)

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