TsgcWSPClient_sgcMethods › UnSubscribeAll

UnSubscribeAll Method

Unsubscribes the client from all active channel subscriptions.

Syntax

procedure UnSubscribeAll(const aGuid: String = '');

Parameters

NameTypeDescription
aGuidconst StringOptional Guid of the target server-side sgc protocol instance. Leave empty to use the default.

Remarks

Removes the client from every channel it is currently subscribed to. OnUnSubscription fires once per channel as the server processes the removals.

Example

oProtocol.UnSubscribeAll;

Back to Methods