9.0.0-preview.5.24306.7
11 Jun 24
Toggle Dropdown
Version 10
10.0.0-preview.4.25258.110
12 May 25
10.0.0-preview.3.25171.5
10 Apr 25
10.0.0-preview.2.25163.2
18 Mar 25
10.0.0-preview.1.25080.5
25 Feb 25
Version 9
9.0.5
13 May 25
9.0.4
8 Apr 25
9.0.3
11 Mar 25
9.0.2
11 Feb 25
9.0.1
14 Jan 25
9.0.0
12 Nov 24
9.0.0-rc.2.24473.5
8 Oct 24
9.0.0-rc.1.24431.7
10 Sep 24
9.0.0-preview.7.24405.7
13 Aug 24
9.0.0-preview.6.24327.7
9 Jul 24
9.0.0-preview.5.24306.7
11 Jun 24
Compare to version...
with 9.0.0-preview.6.24327.7
Toggle Dropdown
Version 10
10.0.0-preview.4.25258.110
12 May 25
10.0.0-preview.3.25171.5
10 Apr 25
10.0.0-preview.2.25163.2
18 Mar 25
10.0.0-preview.1.25080.5
25 Feb 25
Version 9
9.0.5
13 May 25
9.0.4
8 Apr 25
9.0.3
11 Mar 25
9.0.2
11 Feb 25
9.0.1
14 Jan 25
9.0.0
12 Nov 24
9.0.0-rc.2.24473.5
8 Oct 24
9.0.0-rc.1.24431.7
10 Sep 24
9.0.0-preview.7.24405.7
13 Aug 24
9.0.0-preview.6.24327.7
9 Jul 24
9.0.0-preview.5.24306.7
11 Jun 24
Download Package
Open in NuGet
<
PackageReference
Include
=
"System.Diagnostics.DiagnosticSource"
Version
=
"9.0.0-preview.5.24306.7"
/>
API Differences between 9.0.0-preview.5.24306.7 and 9.0.0-preview.6.24327.7
0
Additions
16
Removals
System.Diagnostics
public
class
Activity
:
IDisposable
public
Activity
AddException
(
Exception
exception
,
ref
TagList
tags
=
null
,
DateTimeOffset
timestamp
=
default
)
public
sealed
class
ActivityListener
:
IDisposable
public
ExceptionRecorder
ExceptionRecorder
{
get
;
set
; }
public
sealed
class
ActivitySource
:
IDisposable
public
IEnumerable
<
KeyValuePair
<
string
,
object
>>
Tags
{
get
; }
public
ActivitySource
(
string
name
)
public
ActivitySource
(
string
name
,
string
version
=
""
,
IEnumerable
<
KeyValuePair
<
string
,
object
>>
tags
=
null
)
public
sealed
delegate
ExceptionRecorder
:
MulticastDelegate
System.Diagnostics.Metrics
public
sealed
class
Gauge
<
T
> :
Instrument
<
T
> where
T
: struct
public
abstract
class
Instrument
protected
Instrument
(
Meter
meter
,
string
name
)
public
abstract
class
Instrument
<
T
> :
Instrument
where
T
: struct
public
InstrumentAdvice
<
T
>
Advice
{
get
; }
protected
Instrument
(
Meter
meter
,
string
name
)
protected
Instrument
(
Meter
meter
,
string
name
,
string
unit
=
null
,
string
description
=
null
,
IEnumerable
<
KeyValuePair
<
string
,
object
>>
tags
=
null
,
InstrumentAdvice
<
T
>
advice
=
null
)
public
sealed
class
InstrumentAdvice
<
T
> where
T
: struct
public
class
Meter
:
IDisposable
public
Gauge
<
T
>
CreateGauge
<
T
>(
string
name
) where
T
: struct
public
Gauge
<
T
>
CreateGauge
<
T
>(
string
name
,
string
unit
=
null
,
string
description
=
null
,
IEnumerable
<
KeyValuePair
<
string
,
object
>>
tags
=
null
) where
T
: struct
public
Histogram
<
T
>
CreateHistogram
<
T
>(
string
name
) where
T
: struct
public
Histogram
<
T
>
CreateHistogram
<
T
>(
string
name
,
string
unit
=
null
,
string
description
=
null
,
IEnumerable
<
KeyValuePair
<
string
,
object
>>
tags
=
null
,
InstrumentAdvice
<
T
>
advice
=
null
) where
T
: struct