AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the session. Session information is required on ALL events.

Inheritance Hierarchy

System.Object
  Amazon.MobileAnalytics.Model.Session

Namespace: Amazon.MobileAnalytics.Model
Assembly: AWSSDK.MobileAnalytics.dll
Version: 3.x.y.z

Syntax

C#
public class Session

The Session type exposes the following members

Constructors

NameDescription
Public Method Session()

Properties

NameTypeDescription
Public Property Duration System.Int64

Gets and sets the property Duration.

The duration of the session.

Public Property Id System.String

Gets and sets the property Id.

A unique identifier for the session

Public Property StartTimestamp System.DateTime

Gets and sets the property StartTimestampUtc.

This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use StartTimestampUtc instead. Setting either StartTimestamp or StartTimestampUtc results in both StartTimestamp and StartTimestampUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. StartTimestamp is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.

The time the event started in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z

Public Property StartTimestampUtc System.DateTime

Gets and sets the property StartTimestampUtc.

The time the event started in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z

Public Property StopTimestamp System.DateTime

Gets and sets the property StopTimestampUtc.

This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use StopTimestampUtc instead. Setting either StopTimestamp or StopTimestampUtc results in both StopTimestamp and StopTimestampUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. StopTimestamp is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.

The time the event terminated in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z

Public Property StopTimestampUtc System.DateTime

Gets and sets the property StopTimestampUtc.

The time the event terminated in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5