Edit

Share via


Activity.AddException(Exception, TagList, DateTimeOffset) Method

Definition

public System.Diagnostics.Activity AddException (Exception exception, in System.Diagnostics.TagList tags = default, DateTimeOffset timestamp = default);
member this.AddException : Exception * TagList * DateTimeOffset -> System.Diagnostics.Activity
Public Function AddException (exception As Exception, Optional ByRef tags As TagList = Nothing, Optional timestamp As DateTimeOffset = Nothing) As Activity

Parameters

exception
Exception
tags
TagList
timestamp
DateTimeOffset

Returns

Applies to