Lue englanniksi Muokkaa

Jaa


ISession Interface

Definition

Defines the interface to establish a shared context among parties that exchange messages by providing an ID for the communication session.

C#
public interface ISession
Derived

Remarks

The ISession interface is the base interface for all sessions. It contains a Id property for identifying the session.

A session is a shared context among all participants in a communication exchange. This shared context is characterized by the following three properties:

  • Session establishment - a process for establishing shared context among all participants.

  • Message correlation - a method for correlating a group of messages to an instance of shared context.

  • The ISession interface is not informed as to the number of participants in a session or the lifetime of a session.

These session properties are provided by associating an ID with a session.

ISession is inherited by:

Properties

Id

Gets the ID that uniquely identifies the session.

Applies to

Tuote Versiot
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
UWP 10.0