-
Notifications
You must be signed in to change notification settings - Fork 181
/
TracingContext.yml
60 lines (60 loc) · 1.99 KB
/
TracingContext.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
### YamlMime:TSType
name: TracingContext
uid: '@azure/core-tracing.TracingContext'
package: '@azure/core-tracing'
summary: An immutable context bag of tracing values for the current operation.
fullName: TracingContext
remarks: ''
isDeprecated: false
type: interface
methods:
- name: deleteValue(symbol)
uid: '@azure/core-tracing.TracingContext.deleteValue'
package: '@azure/core-tracing'
summary: Deletes an object from the context if it exists.
remarks: ''
isDeprecated: false
syntax:
content: 'function deleteValue(key: symbol): TracingContext'
parameters:
- id: key
type: symbol
description: The key of the given context value to delete.
return:
description: ''
type: <xref uid="@azure/core-tracing.TracingContext" />
- name: getValue(symbol)
uid: '@azure/core-tracing.TracingContext.getValue'
package: '@azure/core-tracing'
summary: Gets an object from the context if it exists.
remarks: ''
isDeprecated: false
syntax:
content: 'function getValue(key: symbol): unknown'
parameters:
- id: key
type: symbol
description: The key of the given context value.
return:
description: >-
- The value of the given context value if it exists, otherwise
`undefined`.
type: unknown
- name: setValue(symbol, unknown)
uid: '@azure/core-tracing.TracingContext.setValue'
package: '@azure/core-tracing'
summary: Sets a given object on a context.
remarks: ''
isDeprecated: false
syntax:
content: 'function setValue(key: symbol, value: unknown): TracingContext'
parameters:
- id: key
type: symbol
description: The key of the given context value.
- id: value
type: unknown
description: The value to set on the context.
return:
description: '- A new context with the given value set.'
type: <xref uid="@azure/core-tracing.TracingContext" />