Exporter (0) Imprimer
Développer tout

BufferManager, classe

Many features of Windows Communication Foundation (WCF) require the use of buffers, which are expensive to create and destroy. You can use the BufferManager class to manage a buffer pool. The pool and its buffers are created when you instantiate this class, and destroyed when the buffer pool is garbage-collected. Every time you need to use a buffer, you take one from the pool, use it, and return it to the pool when done. This process is much faster than creating and destroying a buffer every time you need to use one.

Espace de noms: System.ServiceModel.Channels
Assembly : System.ServiceModel (dans system.servicemodel.dll)

public abstract class BufferManager
public abstract class BufferManager
public abstract class BufferManager
Non applicable.

This class is commonly used while implementing custom encoders or custom transport channels.

System.Object
  System.ServiceModel.Channels.BufferManager

Les membres statiques publics (Shared en Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile pour Pocket PC, Windows Mobile pour Smartphone, Windows Server 2003, Windows XP Édition Media Center, Windows XP Professionnel Édition x64, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft