Class Runtime
This describes a runtime in more detail.
Inherited Members
Namespace: Sentry.Protocol
Assembly: Sentry.Protocol.dll
Syntax
[DataContract]
public class Runtime
Remarks
Typically this context is used multiple times if multiple runtimes are involved (for instance if you have a JavaScript application running on top of JVM)
Fields
| Improve this Doc View SourceType
Tells Sentry which type of context this is.
Declaration
[DataMember(Name = "type", EmitDefaultValue = false)]
public const string Type = "runtime"
Field Value
Type | Description |
---|---|
String |
Properties
| Improve this Doc View SourceBuild
An optional build number
Declaration
[DataMember(Name = "build", EmitDefaultValue = false)]
public string Build { get; set; }
Property Value
Type | Description |
---|---|
String |
Name
The name of the runtime.
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
RawDescription
An optional raw description that Sentry can use in an attempt to normalize Runtime info.
Declaration
[DataMember(Name = "raw_description", EmitDefaultValue = false)]
public string RawDescription { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
When the system doesn't expose a clear API for Name and Version this field can be used to provide a raw system info (e.g: .NET Framework 4.7.1)
Version
The version identifier of the runtime.
Declaration
[DataMember(Name = "version", EmitDefaultValue = false)]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceClone()
Clones this instance
Declaration
public Runtime Clone()
Returns
Type | Description |
---|---|
Runtime |