Show / Hide Table of Contents

    Class Runtime

    This describes a runtime in more detail.

    Inheritance
    Object
    Runtime
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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 Source

    Type

    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 Source

    Build

    An optional build number

    Declaration
    [DataMember(Name = "build", EmitDefaultValue = false)]
    public string Build { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Name

    The name of the runtime.

    Declaration
    [DataMember(Name = "name", EmitDefaultValue = false)]
    public string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    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)

    | Improve this Doc View Source

    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 Source

    Clone()

    Clones this instance

    Declaration
    public Runtime Clone()
    Returns
    Type Description
    Runtime

    See Also

    https://docs.sentry.io/clientdev/interfaces/contexts/
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX