BufferManager.CreateBufferManager(Int64, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new BufferManager with a specified maximum buffer pool size and a maximum size for each individual buffer in the pool.
public:
static System::ServiceModel::Channels::BufferManager ^ CreateBufferManager(long maxBufferPoolSize, int maxBufferSize);
public static System.ServiceModel.Channels.BufferManager CreateBufferManager (long maxBufferPoolSize, int maxBufferSize);
static member CreateBufferManager : int64 * int -> System.ServiceModel.Channels.BufferManager
Public Shared Function CreateBufferManager (maxBufferPoolSize As Long, maxBufferSize As Integer) As BufferManager
Parameters
- maxBufferPoolSize
- Int64
The maximum size of the pool.
- maxBufferSize
- Int32
The maximum size of an individual buffer.
Returns
Returns a BufferManager object with the specified parameters.
Exceptions
There was insufficient memory to create the requested buffer pool.
Note: In .NET for Windows Store apps or the Portable Class Library, catch the base class exception, OutOfMemoryException, instead.
maxBufferPoolSize
or maxBufferSize
was less than zero.
Remarks
This method creates a new buffer pool with as many buffers as can be created.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για