Datasnap.DSServer.TDSServer.UnregisterChannelCallback
Delphi
procedure UnregisterChannelCallback(const ClientId: string;
const SecurityToken: string;
Owner: Boolean = false); overload;
procedure UnregisterChannelCallback(const ClientId: string;
const CallbackId: string; const SecurityToken: string); overload;
procedure UnregisterChannelCallback(Tunnel: TDSCallbackTunnel; DoBroadcast: Boolean = True); overload;
C++
void __fastcall UnregisterChannelCallback(const System::UnicodeString ClientId, const System::UnicodeString SecurityToken, bool Owner = false)/* overload */;
void __fastcall UnregisterChannelCallback(const System::UnicodeString ClientId, const System::UnicodeString CallbackId, const System::UnicodeString SecurityToken)/* overload */;
void __fastcall UnregisterChannelCallback(TDSCallbackTunnel* Tunnel, bool DoBroadcast = true)/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSServer.pas Datasnap.DSServer.hpp |
Datasnap.DSServer | TDSServer |
Description
Dérecense un rappel du canal client.
La méthode UnregisterChannelCallback annule le recensement d'un rappel de canal avec un nom donné spécifié par le paramètre ChannelName. UnregisterChannelCallback a deux surcharges. Appelez la première surcharge avec les paramètres ChannelName, ClientId et Owner. La deuxième surcharge doit être appelée avec les paramètres ChannelName, ClientId et CallbackId. La deuxième surcharge dérecense un rappel de client et aucune notification ou émission n'est possible après l'annulation du recensement du rappel de client.
ChannelName représente le nom du rappel de canal.
ClientId représente l'identificateur du canal client.
ClientId représente l'identificateur du rappel de canal.
Owner spécifie si les éléments du rappel sont libérés (True) ou supprimés (False).