/// <summary>
 /// Initializes a new instance of the LogDiagnostics class.
 /// </summary>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 public LogDiagnostics(System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device)
 {
     Timestamp = timestamp;
     InstallId = installId;
     Device    = device;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the PageLogDiagnostics class.
 /// </summary>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 /// <param name="sessionId">Session ID.
 /// </param>
 /// <param name="name">Name of the page.
 /// </param>
 /// <param name="properties">Additional key/value pair parameters.
 /// </param>
 public PageLogDiagnostics(System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device, System.Guid sessionId, string name, IDictionary <string, string> properties = default(IDictionary <string, string>))
     : base(timestamp, installId, device, properties)
 {
     SessionId = sessionId;
     Name      = name;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ErrorLogDiagnostics class.
 /// </summary>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 /// <param name="sessionId">Session ID.
 /// </param>
 /// <param name="id">Error identifier.</param>
 /// <param name="appLaunchToffset">Corresponds to the number of
 /// milliseconds elapsed between the time the error occurred and the
 /// app was launched.
 /// </param>
 public ErrorLogDiagnostics(System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device, System.Guid sessionId, System.Guid id, long?appLaunchToffset = default(long?))
     : base(timestamp, installId, device)
 {
     SessionId        = sessionId;
     Id               = id;
     AppLaunchToffset = appLaunchToffset;
     CustomInit();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the GenericLogDiagnostics class.
 /// </summary>
 /// <param name="type">Log type.
 /// . Possible values include: 'event', 'page', 'start_session',
 /// 'error', 'push_installation', 'start_service',
 /// 'custom_properties'</param>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 /// <param name="sessionId">Session ID.
 /// </param>
 /// <param name="eventId">Event ID.
 /// </param>
 /// <param name="eventName">Event name.
 /// </param>
 /// <param name="messageId">Message ID.
 /// </param>
 /// <param name="properties">event specific properties.
 /// </param>
 public GenericLogDiagnostics(string type, System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device, System.Guid?sessionId = default(System.Guid?), string eventId = default(string), string eventName = default(string), string messageId = default(string), IDictionary <string, string> properties = default(IDictionary <string, string>))
 {
     Type       = type;
     Timestamp  = timestamp;
     InstallId  = installId;
     SessionId  = sessionId;
     EventId    = eventId;
     EventName  = eventName;
     MessageId  = messageId;
     Properties = properties;
     Device     = device;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the LogWithPropertiesDiagnostics
 /// class.
 /// </summary>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 /// <param name="properties">Additional key/value pair parameters.
 /// </param>
 public LogWithPropertiesDiagnostics(System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device, IDictionary <string, string> properties = default(IDictionary <string, string>))
     : base(timestamp, installId, device)
 {
     Properties = properties;
     CustomInit();
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the StartServiceLogDiagnostics class.
 /// </summary>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 /// <param name="services">The list of services of the AppCenter Start
 /// API call.</param>
 public StartServiceLogDiagnostics(System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device, IList <string> services = default(IList <string>))
     : base(timestamp, installId, device)
 {
     Services = services;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the CustomPropertyLogDiagnostics
 /// class.
 /// </summary>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 /// <param name="properties">Custom property changes.</param>
 public CustomPropertyLogDiagnostics(System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device, IList <CustomPropertyDiagnostics> properties = default(IList <CustomPropertyDiagnostics>))
     : base(timestamp, installId, device)
 {
     Properties = properties;
     CustomInit();
 }
Exemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the PushInstallationLogDiagnostics
 /// class.
 /// </summary>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 /// <param name="pushToken">The PNS handle for this installation.
 /// </param>
 public PushInstallationLogDiagnostics(System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device, string pushToken)
     : base(timestamp, installId, device)
 {
     PushToken = pushToken;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the HanledErrorLogDiagnostics class.
 /// </summary>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 /// <param name="errorId">Error ID.
 /// </param>
 public HanledErrorLogDiagnostics(System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device, System.Guid errorId)
     : base(timestamp, installId, device)
 {
     ErrorId = errorId;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the StartSessionLogDiagnostics class.
 /// </summary>
 /// <param name="timestamp">Log creation timestamp.
 /// </param>
 /// <param name="installId">Install ID.
 /// </param>
 /// <param name="sessionId">Session ID.
 /// </param>
 public StartSessionLogDiagnostics(System.DateTime timestamp, System.Guid installId, DeviceDiagnostics device, System.Guid sessionId)
     : base(timestamp, installId, device)
 {
     SessionId = sessionId;
     CustomInit();
 }