Datasnap.DSSession.TDSTunnelService.DefaultCloseSessionEvent

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure DefaultCloseSessionEvent(Sender: TObject; Session: TDSTunnelSession;  Content: TArray<Byte>; var Count: Integer);

C++

void __fastcall DefaultCloseSessionEvent(System::TObject* Sender, TDSTunnelSession* Session, System::DynamicArray<System::Byte> Content, int &Count);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Datasnap.DSSession TDSTunnelService

説明

セッションが正常に閉じる時に起こるイベントのデフォルト実装を表します。

DefaultCloseSessionEvent メソッドは、セッションが正常に閉じる度に起こるイベントを表します。 OnCloseSession プロパティが設定されていれば、そのイベントのデフォルト実装は OnCloseSession プロパティに委譲します。

DefaultCloseSessionEvent メソッドの引数の一覧を以下の表に示します。



引数 意味

Sender

イベントの送信者を表します。

Session

現在の通信を管理するチャネル セッション インスタンスを表します。

Content

バイト コンテンツを指定します。

Count

バイト単位でバイト コンテンツのサイズを指定します。



関連項目