Skip to content

Commit afb55af

Browse files
authored
Code fence XML elements (WCF) (#50681)
1 parent 967cc5c commit afb55af

File tree

297 files changed

+11012
-11015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+11012
-11015
lines changed

docs/framework/configure-apps/file-schema/wcf/activityscheduledqueries-of-wcf.md

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ title: "<activityScheduledQueries> of WCF"
44
ms.date: "03/30/2017"
55
ms.assetid: e351329f-9676-4f11-9b19-f4bac82f36fc
66
---
7-
# \<activityScheduledQueries> of WCF
8-
9-
Represents a collection of queries that are used to track an activity scheduled for execution by a parent activity. The query is necessary for a tracking participant to subscribe to activity scheduled records.
10-
11-
For more information on tracking profile queries, see [Tracking Profiles](../../../windows-workflow-foundation/tracking-profiles.md)
12-
13-
[**\<configuration>**](../configuration-element.md)\
14-
&nbsp;&nbsp;[**\<system.serviceModel>**](system-servicemodel.md)\
15-
&nbsp;&nbsp;&nbsp;&nbsp;[**\<tracking>**](tracking-of-wcf.md)\
16-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**\<profiles>**\
17-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<trackingProfile>**](trackingprofile-of-wcf.md)\
18-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<workflow>**](workflow-of-wcf.md)\
19-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**\<activityScheduledQueries>**
20-
21-
## Syntax
22-
23-
```xml
7+
# `<activityScheduledQueries>` of WCF
8+
9+
Represents a collection of queries that are used to track an activity scheduled for execution by a parent activity. The query is necessary for a tracking participant to subscribe to activity scheduled records.
10+
11+
For more information on tracking profile queries, see [Tracking Profiles](../../../windows-workflow-foundation/tracking-profiles.md)
12+
13+
[`<configuration>`](../configuration-element.md)\
14+
&nbsp;&nbsp;[`<system.serviceModel>`](system-servicemodel.md)\
15+
&nbsp;&nbsp;&nbsp;&nbsp;[`<tracking>`](tracking-of-wcf.md)\
16+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`<profiles>`\
17+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<trackingProfile>`](trackingprofile-of-wcf.md)\
18+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<workflow>`](workflow-of-wcf.md)\
19+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`<activityScheduledQueries>`
20+
21+
## Syntax
22+
23+
```xml
2424
<tracking>
2525
<profiles>
2626
<trackingProfile name="Name">
@@ -33,28 +33,28 @@ For more information on tracking profile queries, see [Tracking Profiles](../../
3333
</trackingProfile>
3434
</profiles>
3535
</tracking>
36-
```
37-
38-
## Attributes and elements
39-
40-
The following sections describe attributes, child elements, and parent elements.
41-
42-
### Attributes
43-
44-
None.
45-
46-
### Child elements
47-
48-
|Element|Description|
49-
|-------------|-----------------|
50-
|[\<activityScheduledQuery>](activityscheduledquery-of-wcf.md)|A query that is used to track an activity scheduled for execution by a parent activity.|
51-
52-
### Parent elements
53-
54-
|Element|Description|
55-
|-------------|-----------------|
56-
|[\<workflow>](../windows-workflow-foundation/workflow.md)|A configuration element that contains all queries for a specific workflow identified by the `activityDefinitionId` property.|
57-
36+
```
37+
38+
## Attributes and elements
39+
40+
The following sections describe attributes, child elements, and parent elements.
41+
42+
### Attributes
43+
44+
None.
45+
46+
### Child elements
47+
48+
|Element|Description|
49+
|-------------|-----------------|
50+
|[\<activityScheduledQuery>](activityscheduledquery-of-wcf.md)|A query that is used to track an activity scheduled for execution by a parent activity.|
51+
52+
### Parent elements
53+
54+
|Element|Description|
55+
|-------------|-----------------|
56+
|[\<workflow>](../windows-workflow-foundation/workflow.md)|A configuration element that contains all queries for a specific workflow identified by the `activityDefinitionId` property.|
57+
5858
## See also
5959

6060
- <xref:System.ServiceModel.Activities.Tracking.Configuration.ActivityScheduledQueryElementCollection>

docs/framework/configure-apps/file-schema/wcf/activityscheduledquery-of-wcf.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ title: "<activityScheduledQuery> of WCF"
44
ms.date: "03/30/2017"
55
ms.assetid: 25f6eee1-3d98-4c39-b517-c0813f03f106
66
---
7-
# \<activityScheduledQuery> of WCF
7+
# `<activityScheduledQuery>` of WCF
88

9-
Represents a collection of queries that are used to track an activity scheduled for execution by a parent activity. The query is necessary for a tracking participant to subscribe to activity scheduled records.
10-
11-
For more information on tracking profile queries, see [Tracking Profiles](../../../windows-workflow-foundation/tracking-profiles.md)
12-
13-
[**\<configuration>**](../configuration-element.md)\
14-
&nbsp;&nbsp;[**\<system.serviceModel>**](system-servicemodel.md)\
15-
&nbsp;&nbsp;&nbsp;&nbsp;[**\<tracking>**](tracking-of-wcf.md)\
16-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**\<profiles>**\
17-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<trackingProfile>**](trackingprofile-of-wcf.md)\
18-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<workflow>**](workflow-of-wcf.md)\
19-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<activityScheduledQueries>**](activityscheduledqueries-of-wcf.md)\
20-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**\<activityScheduledQuery>**
21-
22-
## Syntax
23-
24-
```xml
9+
Represents a collection of queries that are used to track an activity scheduled for execution by a parent activity. The query is necessary for a tracking participant to subscribe to activity scheduled records.
10+
11+
For more information on tracking profile queries, see [Tracking Profiles](../../../windows-workflow-foundation/tracking-profiles.md)
12+
13+
[`<configuration>`](../configuration-element.md)\
14+
&nbsp;&nbsp;[`<system.serviceModel>`](system-servicemodel.md)\
15+
&nbsp;&nbsp;&nbsp;&nbsp;[`<tracking>`](tracking-of-wcf.md)\
16+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`<profiles>`\
17+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<trackingProfile>`](trackingprofile-of-wcf.md)\
18+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<workflow>`](workflow-of-wcf.md)\
19+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<activityScheduledQueries>`](activityscheduledqueries-of-wcf.md)\
20+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`<activityScheduledQuery>`
21+
22+
## Syntax
23+
24+
```xml
2525
<tracking>
2626
<profiles>
2727
<trackingProfile name="Name">
@@ -34,29 +34,29 @@ For more information on tracking profile queries, see [Tracking Profiles](../../
3434
</trackingProfile>
3535
</profiles>
3636
</tracking>
37-
```
38-
39-
## Attributes and elements
37+
```
38+
39+
## Attributes and elements
40+
41+
The following sections describe attributes, child elements, and parent elements.
42+
43+
### Attributes
44+
45+
|Attribute|Description|
46+
|---------------|-----------------|
47+
|`activityName`|A string that specifies the name of the activity that is requesting the cancellation.|
48+
|`childActivityName`|A string that specifies the name of the child activity for which cancellation was requested.|
4049

41-
The following sections describe attributes, child elements, and parent elements.
42-
43-
### Attributes
44-
45-
|Attribute|Description|
46-
|---------------|-----------------|
47-
|`activityName`|A string that specifies the name of the activity that is requesting the cancellation.|
48-
|`childActivityName`|A string that specifies the name of the child activity for which cancellation was requested.|
49-
5050
### Child elements
5151

5252
None.
53-
54-
### Parent elements
55-
56-
|Element|Description|
57-
|-------------|-----------------|
58-
|[\<activityScheduledQueries>](activityscheduledqueries-of-wcf.md)|A collection of queries that are used to track an activity scheduled for execution by a parent activity.|
59-
53+
54+
### Parent elements
55+
56+
|Element|Description|
57+
|-------------|-----------------|
58+
|[\<activityScheduledQueries>](activityscheduledqueries-of-wcf.md)|A collection of queries that are used to track an activity scheduled for execution by a parent activity.|
59+
6060
## See also
6161

6262
- <xref:System.ServiceModel.Activities.Tracking.Configuration.ActivityScheduledQueryElement>

docs/framework/configure-apps/file-schema/wcf/activitystatequeries-of-wcf.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ title: "<activityStateQueries> of WCF"
44
ms.date: "10/08/2018"
55
ms.assetid: 9e45db49-ed85-4fdf-bd65-0d5477e31823
66
---
7-
# \<activityStateQueries> of WCF
7+
# `<activityStateQueries>` of WCF
88

99
Represents a collection of queries that are used to track life cycle changes of the activities that make up a workflow instance. For example, you may want to keep track of every time the "Send E-Mail" activity completes within a workflow instance. This query is necessary for a tracking participant to subscribe to activity state record objects. The available states to subscribe to are specified in ActivityStates.
1010

1111
For more information on tracking profile queries, see [Tracking Profiles](../../../windows-workflow-foundation/tracking-profiles.md).
1212

13-
[**\<configuration>**](../configuration-element.md)\
14-
&nbsp;&nbsp;[**\<system.serviceModel>**](system-servicemodel.md)\
15-
&nbsp;&nbsp;&nbsp;&nbsp;[**\<tracking>**](tracking-of-wcf.md)\
16-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**\<profiles>**\
17-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<trackingProfile>**](trackingprofile-of-wcf.md)\
18-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<workflow>**](workflow-of-wcf.md)\
19-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**\<activityStateQueries>**
20-
21-
## Syntax
22-
23-
```xml
13+
[`<configuration>`](../configuration-element.md)\
14+
&nbsp;&nbsp;[`<system.serviceModel>`](system-servicemodel.md)\
15+
&nbsp;&nbsp;&nbsp;&nbsp;[`<tracking>`](tracking-of-wcf.md)\
16+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`<profiles>`\
17+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<trackingProfile>`](trackingprofile-of-wcf.md)\
18+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<workflow>`](workflow-of-wcf.md)\
19+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`<activityStateQueries>`
20+
21+
## Syntax
22+
23+
```xml
2424
<tracking>
2525
<profiles>
2626
<trackingProfile name="Name">
@@ -42,15 +42,15 @@ For more information on tracking profile queries, see [Tracking Profiles](../../
4242
</trackingProfile>
4343
</profiles>
4444
</tracking>
45-
```
45+
```
4646

4747
## Attributes and elements
4848

4949
The following sections describe attributes, child elements, and parent elements.
50-
51-
### Attributes
5250

53-
None.
51+
### Attributes
52+
53+
None.
5454

5555
### Child elements
5656

docs/framework/configure-apps/file-schema/wcf/activitystatequery-of-wcf.md

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ title: "<activityStateQuery> of WCF"
44
ms.date: "03/30/2017"
55
ms.assetid: d6cdc04b-6f3a-4097-a623-ee4a1be3b5c4
66
---
7-
# \<activityStateQuery> of WCF
7+
# `<activityStateQuery>` of WCF
8+
9+
Represents a query that is used to track life cycle changes of the activities that make up a workflow instance. For example, you may want to keep track of every time the "Send E-Mail" activity completes within a workflow instance. This query is necessary for a tracking participant to subscribe to activity state record objects. The available states to subscribe to are specified in ActivityStates.
810

9-
Represents a query that is used to track life cycle changes of the activities that make up a workflow instance. For example, you may want to keep track of every time the "Send E-Mail" activity completes within a workflow instance. This query is necessary for a tracking participant to subscribe to activity state record objects. The available states to subscribe to are specified in ActivityStates.
10-
1111
For more information on tracking profile queries, see [Tracking Profiles](../../../windows-workflow-foundation/tracking-profiles.md).
1212

13-
[**\<configuration>**](../configuration-element.md)\
14-
&nbsp;&nbsp;[**\<system.serviceModel>**](system-servicemodel.md)\
15-
&nbsp;&nbsp;&nbsp;&nbsp;[**\<tracking>**](tracking-of-wcf.md)\
16-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**\<profiles>**\
17-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<trackingProfile>**](trackingprofile-of-wcf.md)\
18-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<workflow>**](workflow-of-wcf.md)\
19-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[**\<activityStateQueries>**](activitystatequeries-of-wcf.md)\
20-
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**\<activityStateQuery>**
21-
22-
## Syntax
23-
24-
```xml
13+
[`<configuration>`](../configuration-element.md)\
14+
&nbsp;&nbsp;[`<system.serviceModel>`](system-servicemodel.md)\
15+
&nbsp;&nbsp;&nbsp;&nbsp;[`<tracking>`](tracking-of-wcf.md)\
16+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`<profiles>`\
17+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<trackingProfile>`](trackingprofile-of-wcf.md)\
18+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<workflow>`](workflow-of-wcf.md)\
19+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[`<activityStateQueries>`](activitystatequeries-of-wcf.md)\
20+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`<activityStateQuery>`
21+
22+
## Syntax
23+
24+
```xml
2525
<tracking>
2626
<profiles>
2727
<trackingProfile name="Name">
@@ -43,37 +43,37 @@ For more information on tracking profile queries, see [Tracking Profiles](../../
4343
</trackingProfile>
4444
</profiles>
4545
</tracking>
46-
```
47-
48-
## Attributes and elements
49-
50-
The following sections describe attributes, child elements, and parent elements.
51-
52-
### Attributes
53-
54-
|Attribute|Description|
55-
|---------------|-----------------|
56-
|activityName|A string that specifies the name of the activity to filter <xref:System.Activities.Tracking.ActivityStateRecord> instances on.|
57-
58-
### Child elements
59-
60-
|Element|Description|
61-
|-------------|-----------------|
62-
|[\<arguments>](../windows-workflow-foundation/arguments.md)|A collection of arguments associated with this activity query.|
63-
|[\<states>](../windows-workflow-foundation/states.md)|A collection of configuration elements that contain the states of the subscribed activity for which a tracking record should be emitted.|
64-
|[\<states>](../windows-workflow-foundation/states.md)|A collection of variables associated with this activity query.|
65-
66-
### Parent elements
67-
68-
|Element|Description|
69-
|-------------|-----------------|
70-
|[\<faultPropagationQuery>](../windows-workflow-foundation/faultpropagationquery.md)|Represents a list of configuration elements that are used to track requests to cancel a child activity by the parent activity. The query is necessary for a tracking participant to subscribe to cancel request record objects.|
71-
46+
```
47+
48+
## Attributes and elements
49+
50+
The following sections describe attributes, child elements, and parent elements.
51+
52+
### Attributes
53+
54+
|Attribute|Description|
55+
|---------------|-----------------|
56+
|activityName|A string that specifies the name of the activity to filter <xref:System.Activities.Tracking.ActivityStateRecord> instances on.|
57+
58+
### Child elements
59+
60+
|Element|Description|
61+
|-------------|-----------------|
62+
|[\<arguments>](../windows-workflow-foundation/arguments.md)|A collection of arguments associated with this activity query.|
63+
|[\<states>](../windows-workflow-foundation/states.md)|A collection of configuration elements that contain the states of the subscribed activity for which a tracking record should be emitted.|
64+
|[\<states>](../windows-workflow-foundation/states.md)|A collection of variables associated with this activity query.|
65+
66+
### Parent elements
67+
68+
|Element|Description|
69+
|-------------|-----------------|
70+
|[\<faultPropagationQuery>](../windows-workflow-foundation/faultpropagationquery.md)|Represents a list of configuration elements that are used to track requests to cancel a child activity by the parent activity. The query is necessary for a tracking participant to subscribe to cancel request record objects.|
71+
7272
## Remarks
7373

74-
One unique feature of an ActivityStateQuery is the ability to extract data when tracking the execution of a workflow. This provides additional context when accessing the tracking records post execution. You can use the [\<arguments>](../windows-workflow-foundation/arguments.md), [\<states>](../windows-workflow-foundation/states.md) and [\<states>](../windows-workflow-foundation/states.md) elements to extract any variable or argument from any activity in a workflow. The following example shows an activity state query that extracts variables and arguments when the activity’s `Closed` tracking record is emitted. Variables and arguments can be extracted only with an ActivityStateRecord and thus are subscribed to within a tracking profile using [\<activityStateQuery>](../windows-workflow-foundation/activitystatequery.md).
75-
76-
```xml
74+
One unique feature of an ActivityStateQuery is the ability to extract data when tracking the execution of a workflow. This provides additional context when accessing the tracking records post execution. You can use the [\<arguments>](../windows-workflow-foundation/arguments.md), [\<states>](../windows-workflow-foundation/states.md) and [\<states>](../windows-workflow-foundation/states.md) elements to extract any variable or argument from any activity in a workflow. The following example shows an activity state query that extracts variables and arguments when the activity’s `Closed` tracking record is emitted. Variables and arguments can be extracted only with an ActivityStateRecord and thus are subscribed to within a tracking profile using [\<activityStateQuery>](../windows-workflow-foundation/activitystatequery.md).
75+
76+
```xml
7777
<activityStateQuery activityName="SendEmailActivity">
7878
<states>
7979
<state name="Closed" />
@@ -85,8 +85,8 @@ One unique feature of an ActivityStateQuery is the ability to extract data when
8585
<argument name="Result" />
8686
</arguments>
8787
</activityStateQuery>
88-
```
89-
88+
```
89+
9090
## See also
9191

9292
- <xref:System.ServiceModel.Activities.Tracking.Configuration.ActivityStateQueryElement>

0 commit comments

Comments
 (0)