// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
/// Bucket Hash (might replace ID which would be deprecated, so sending for future proofing)
/// </summary>
[DataMember(Name="hashedBucket")]
publicstringHashedBucket{get;}
/// <summary>
/// Watson Report ID
/// </summary>
[DataMember(Name="watsonReportId")]
publicstringWatsonReportId{get;}
/// <summary>
/// The name of the event (some possible ones: "AppHangB1", "AppHangXProcB1", "MoAppHang","MoAppHangXProc","AppCrash","Crash32","Crash64","MoAppCrash","BEX","BEX64","clr20r3","MoBEX"
/// </summary>
[DataMember(Name="eventName")]
publicstringEventName{get;}
/// <summary>
/// The CAB unique ID (can be empty - 0)
/// </summary>
[DataMember(Name="cabId")]
publicstringCabId{get;}
/// <summary>
/// The name of the application causing the event (we have a list of VS EXEs that we grab for), e.g. "devenv.exe"
/// </summary>
[DataMember(Name="applicationName")]
publicstringApplicationName{get;}
/// <summary>
/// The version of the application causing the event, e.g. "14.0.23107.0"
/// </summary>
[DataMember(Name="applicationVersion")]
publicstringApplicationVersion{get;}
/// <summary>
/// The faulting module (what inside the app is causing the event), e.g. "ntdll.dll"
/// </summary>
[DataMember(Name="faultingModule")]
publicstringFaultingModule{get;}
/// <summary>
/// The faulting module version
/// </summary>
[DataMember(Name="faultModuleVersion")]
publicstringFaultingModuleVersion{get;}
/// <summary>
/// FaultBucket is the first property on the log entry
/// </summary>
privateconstintFaultBucketIndex=0;
/// <summary>
/// EventName index in the log entry properties (2)
/// </summary>
internalconstintEventNameIndex=2;
/// <summary>
/// CabId index in the log entry properties
/// </summary>
privateconstintCabIdIndex=4;
/// <summary>
/// Application name is contained in the P1 bucket parameter
/// </summary>
internalconstintApplicationNameIndex=5;
/// <summary>
/// Application version is the P2 bucket parameter
/// </summary>
privateconstintApplicationVersionIndex=6;
/// <summary>
/// Faulting module is the P4 bucket parameter
/// </summary>
privateconstintFaultingModuleIndex=8;
/// <summary>
/// Faulting module version is the P5 bucket parameter
/// </summary>
privateconstintFaultingModuleVersionindex=9;
/// <summary>
/// WatsonReportId index in the log entry properties
/// </summary>
privateconstintWatsonReportIdIndex=19;
/// <summary>
/// HashedBucket index in the log entry properties
/// </summary>
privateconstintHashedBucketIndex=21;
/// <summary>
/// Constructor for a FeedbackItemWatsonEntry based on an EventRecord for future easiness of reading and modifying