Show / Hide Table of Contents

    Struct SentryId

    The identifier of an event in Sentry

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: Sentry.Protocol
    Assembly: Sentry.Protocol.dll
    Syntax
    public struct SentryId

    Constructors

    | Improve this Doc View Source

    SentryId(Guid)

    Creates a new instance of a Sentry Id

    Declaration
    public SentryId(Guid guid)
    Parameters
    Type Name Description
    Guid guid

    Fields

    | Improve this Doc View Source

    Empty

    An empty sentry id

    Declaration
    public static readonly SentryId Empty
    Field Value
    Type Description
    SentryId

    Methods

    | Improve this Doc View Source

    ToString()

    Sentry Id in the format Sentry recognizes

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    String representation of the event id.

    Overrides
    ValueType.ToString()
    Remarks

    Default ToString() of Guid includes dashes which sentry doesn't expect when searching events.

    Operators

    | Improve this Doc View Source

    Implicit(SentryId to Guid)

    The Guid from the SentryId

    Declaration
    public static implicit operator Guid(SentryId sentryId)
    Parameters
    Type Name Description
    SentryId sentryId
    Returns
    Type Description
    Guid
    | Improve this Doc View Source

    Implicit(Guid to SentryId)

    A SentryId from a Guid

    Declaration
    public static implicit operator SentryId(Guid guid)
    Parameters
    Type Name Description
    Guid guid
    Returns
    Type Description
    SentryId
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX