3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0

    public sealed class Span.Types.TimeEvent : IMessage<Span.Types.TimeEvent>, IEquatable<Span.Types.TimeEvent>, IDeepCloneable<Span.Types.TimeEvent>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Trace v2 API class Span.Types.TimeEvent.

A time-stamped annotation or message event in the Span.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Span.Types.TimeEvent

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Span](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.md.txt)[TimeEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.TimeEvent.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Span](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.md.txt)[TimeEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.TimeEvent.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Span](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.md.txt)[TimeEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.Span.Types.TimeEvent.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Trace.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Trace.V2/latest/Google.Cloud.Trace.V2.md.txt)

## Assembly

Google.Cloud.Trace.V2.dll

## Constructors

### TimeEvent()

    public TimeEvent()

### TimeEvent(TimeEvent)

    public TimeEvent(Span.Types.TimeEvent other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `SpanTypesTimeEvent` |

## Properties

### Annotation

    public Span.Types.TimeEvent.Types.Annotation Annotation { get; set; }

Text annotation with a set of attributes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SpanTypesTimeEventTypesAnnotation` |   |

### MessageEvent

    public Span.Types.TimeEvent.Types.MessageEvent MessageEvent { get; set; }

An event describing a message sent/received between Spans.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SpanTypesTimeEventTypesMessageEvent` |   |

### Time

    public Timestamp Time { get; set; }

The timestamp indicating the time the event occurred.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### ValueCase

    public Span.Types.TimeEvent.ValueOneofCase ValueCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SpanTypesTimeEventValueOneofCase` |   |