Show / Hide Table of Contents

    Class SdkVersion

    Information about the SDK to be sent with the SentryEvent

    Inheritance
    Object
    SdkVersion
    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 SdkVersion
    Remarks

    Requires Sentry version 8.4 or higher

    Properties

    | Improve this Doc View Source

    Name

    SDK name

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

    Packages

    SDK packages

    Declaration
    public IEnumerable<Package> Packages { get; }
    Property Value
    Type Description
    IEnumerable<Package>
    Remarks

    This property is not required

    | Improve this Doc View Source

    Version

    SDK Version

    Declaration
    [DataMember(Name = "version", EmitDefaultValue = false)]
    public string Version { get; set; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    AddPackage(String, String)

    Add a package used to compose the SDK

    Declaration
    public void AddPackage(string name, string version)
    Parameters
    Type Name Description
    String name

    The package name.

    String version

    The package version.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX