Metodo ICustomProvider.GetValue

Recupera il valore di una voce specifica nell'archivio di configurazione.

Spazio dei nomi: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)

Uso

Sintassi

'Dichiarazione
Function GetValue ( _
    transactionContext As Object, _
    type As String, _
    key As String _
) As Byte()
byte[] GetValue (
    Object transactionContext,
    string type,
    string key
)
array<unsigned char>^ GetValue (
    Object^ transactionContext, 
    String^ type, 
    String^ key
)
byte[] GetValue (
    Object transactionContext, 
    String type, 
    String key
)
function GetValue (
    transactionContext : Object, 
    type : String, 
    key : String
) : byte[]

Parametri

  • transactionContext
    Il contesto della transazione.
  • type
    Il tipo della voce.
  • key
    La chiave della voce.

Valore restituito

Il valore di una voce specificata nell'archivio di configurazione.

Protezione thread

Qualsiasi membro statico (condiviso in Visual Basic) di questo tipo è thread safe, diversamente dai membri istanza.

Piattaforme

Piattaforme di sviluppo

Visual Studio 2010 e versioni successive, .NET Framework 4

Piattaforme di destinazione

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

Vedere anche

Informazioni di riferimento

Interfaccia ICustomProvider
ICustomProvider membri
Spazio dei nomi Microsoft.ApplicationServer.Caching