ServerProtocol.GetFromCache(Type, Type) Methode

Definition

Ruft das im Cache gespeicherte Object mithilfe des Schlüssels ab, der aus dem angegebenen Protokolltyp und dem angegebenen Servertyp erstellt wird.

protected:
 System::Object ^ GetFromCache(Type ^ protocolType, Type ^ serverType);
protected object GetFromCache (Type protocolType, Type serverType);
member this.GetFromCache : Type * Type -> obj
Protected Function GetFromCache (protocolType As Type, serverType As Type) As Object

Parameter

protocolType
Type

Ein Type, mit dem der Schlüssel erstellt wird, mit dessen Hilfe value aus dem Cache abgerufen wird.

serverType
Type

Ein Type, mit dem der Schlüssel erstellt wird, mit dessen Hilfe value aus dem Cache abgerufen wird.

Gibt zurück

Object

Das Object, das mithilfe des Schlüssels im Cache gespeichert wird, der aus protocolType und serverType erstellt wurde.

Gilt für