Partager via


CacheParameter - Constructeur

Instancie un objet CacheParameter .

Espace de noms :  Microsoft.Office.Server.ObjectCache
Assembly :  Microsoft.Office.Server (dans Microsoft.Office.Server.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    serviceName As String, _
    objectType As String, _
    maxCacheSize As ULong, _
    priority As PriorityType, _
    lifetime As TimeSpan _
)
'Utilisation
Dim serviceName As String
Dim objectType As String
Dim maxCacheSize As ULong
Dim priority As PriorityType
Dim lifetime As TimeSpan

Dim instance As New CacheParameter(serviceName, _
    objectType, maxCacheSize, priority, _
    lifetime)
public CacheParameter(
    string serviceName,
    string objectType,
    ulong maxCacheSize,
    PriorityType priority,
    TimeSpan lifetime
)

Paramètres

  • serviceName
    Type : System.String

    Le nom de l'appel du service.

  • objectType
    Type : System.String

    Le type d'objet qui doit être mis en cache.

  • maxCacheSize
    Type : System.UInt64

    La taille maximale du cache, en octets.

  • lifetime
    Type : System.TimeSpan

    La période de rétention par défaut pour les éléments dans le cache.

Voir aussi

Référence

CacheParameter structure

CacheParameter - Membres

Microsoft.Office.Server.ObjectCache - Espace de noms