You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/code-snippets.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ ms.workload:
22
22
---
23
23
# Code snippets
24
24
25
-
Code snippets are small blocks of reusable code that can be inserted in a code file using a context menu command or a combination of hotkeys. They typically contain commonly-used code blocks such as `try-finally` or `if-else` blocks, but they can be used to insert entire classes or methods.
25
+
Code snippets are small blocks of reusable code that can be inserted in a code file using a context menu command or a combination of hotkeys. They typically contain commonlyused code blocks such as `try-finally` or `if-else` blocks, but they can be used to insert entire classes or methods.
26
26
27
27
Code snippets are available for a multitude of languages, including C#, C++, Visual Basic, XML, and T-SQL, to name a few. To view all the available installed snippets for a language, open the **Code Snippets Manager** from the **Tools** menu in Visual Studio, and choose the language from the drop-down menu at the top.
28
28
@@ -68,7 +68,7 @@ if (true)
68
68
69
69
Snippets can contain replacement parameters, which are placeholders that you must replace to fit the precise code you are writing. In the previous example `true` is a replacement parameter, which you would replace with the appropriate condition. The replacement you make is repeated for every instance of the same replacement parameter in the snippet.
70
70
71
-
For example, in Visual Basic there is a code snippet that inserts a property. To insert the snippet, choose **Snippet** > **Insert Snippet** from the right-click or context menu in a Visual Basic code file. Then, choose **Code Patterns** > **Properties, Procedures, Events** > **Define a Property**.
71
+
For example, in Visual Basic there's a code snippet that inserts a property. To insert the snippet, choose **Snippet** > **Insert Snippet** from the right-click or context menu in a Visual Basic code file. Then, choose **Code Patterns** > **Properties, Procedures, Events** > **Define a Property**.
72
72
73
73

Copy file name to clipboardExpand all lines: docs/workflow-designer/initializecorrelation-activity-designer.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.workload:
15
15
---
16
16
# InitializeCorrelation Activity Designer
17
17
18
-
The **InitializeCorrelation** activity designer is used to create and configure an <xref:System.ServiceModel.Activities.InitializeCorrelation> activity that is used to establish a correlation between messages prior to sending or receiving them.
18
+
The **InitializeCorrelation** activity designer is used to create and configure an <xref:System.ServiceModel.Activities.InitializeCorrelation> activity. The <xref:System.ServiceModel.Activities.InitializeCorrelation> activity establishes a correlation between messages before sending or receiving them.
19
19
20
20
## The InitializeCorrelation Activity
21
21
@@ -25,21 +25,21 @@ An <xref:System.ServiceModel.Activities.InitializeCorrelation> activity is used
25
25
26
26
Access the **InitializeCorrelation** activity designer in the **Messaging** category of the **Toolbox**.
27
27
28
-
The **InitializeCorrelation** activity designer can be dragged from the **Toolbox** and dropped on to the Workflow Designer surface. This creates a <xref:System.ServiceModel.Activities.InitializeCorrelation> activity with a default <xref:System.Activities.Activity.DisplayName%2A> of InitializeCorrelation.The <xref:System.Activities.Activity.DisplayName%2A> can be edited in the header of the **InitializeCorrelation** activity designer or in the **DisplayName** box of the **Properties** window.
28
+
The **InitializeCorrelation** activity designer can be dragged from the **Toolbox** and dropped on to the Workflow Designer surface. Dropping the activity designer creates a <xref:System.ServiceModel.Activities.InitializeCorrelation> activity with a default <xref:System.Activities.Activity.DisplayName%2A> of InitializeCorrelation.The <xref:System.Activities.Activity.DisplayName%2A> can be edited in the header of the **InitializeCorrelation** activity designer or in the **DisplayName** box of the **Properties** window.
29
29
30
30
The <xref:System.ServiceModel.Activities.CorrelationHandle> can be specifies in the **Correlation** field in **Properties** window on the **InitializeCorrelation** activity designer surface.
31
31
32
-
To display the **Initialize Correlation** dialog box where you can specify the correlation handle and the key-value pairs used to initialize it, select the ellipsis button next to the **CorrelationData** field in **Properties** window. Or, select the "View ..." hint text on the **InitializeCorrelation** activity designer surface. For more information about using this dialog box, see the [Type Collection Editor Dialog Box](../workflow-designer/type-collection-editor-dialog-box.md)topic.
32
+
To display the **Initialize Correlation** dialog box where you can specify the correlation handle and the key-value pairs used to initialize it, select the ellipsis button next to the **CorrelationData** field in **Properties** window. Or, select the "View ..." hint text on the **InitializeCorrelation** activity designer surface. For more information about using this dialog box, see the [Type Collection Editor Dialog Box](../workflow-designer/type-collection-editor-dialog-box.md)article.
33
33
34
34
### The InitializeCorrelation Properties
35
35
36
-
The following table shows the <xref:System.ServiceModel.Activities.InitializeCorrelation> properties and describes how they are used in the designer. These properties can be edited in **Properties** window or on Workflow Designer surface.
36
+
The following table shows the <xref:System.ServiceModel.Activities.InitializeCorrelation> properties and describes how they're used in the designer. These properties can be edited in **Properties** window or on Workflow Designer surface.
37
37
38
38
|Property Name|Required|Usage|
39
39
|-------------------|--------------|-----------|
40
-
|<xref:System.Activities.Activity.DisplayName%2A>|False|The friendly name of the <xref:System.ServiceModel.Activities.InitializeCorrelation> activity. The default value is InitializeCorrelation.<br /><br /> Although the use of a non-default value for the friendly <xref:System.Activities.Activity.DisplayName%2A>is not strictly required, it is a best practice to use such a value.|
40
+
|<xref:System.Activities.Activity.DisplayName%2A>|False|The friendly name of the <xref:System.ServiceModel.Activities.InitializeCorrelation> activity. The default value is InitializeCorrelation.<br /><br /> Although the use of a non-default value for the friendly <xref:System.Activities.Activity.DisplayName%2A>isn't strictly required, it is recommended.|
41
41
|<xref:System.ServiceModel.Activities.InitializeCorrelation.Correlation%2A>|False|The <xref:System.ServiceModel.Activities.CorrelationHandle> used to associate workflow activities in the correlation.|
42
-
|<xref:System.ServiceModel.Activities.InitializeCorrelation.CorrelationData%2A>|False|A dictionary of correlation data that relates messages to the workflow instance.<br /><br /> Use the **Initialize Correlation** dialog box to configure the <xref:System.ServiceModel.Activities.InitializeCorrelation.CorrelationData%2A>. For more information about the use this dialog box, see the [Type Collection Editor Dialog Box](../workflow-designer/type-collection-editor-dialog-box.md)topic.|
42
+
|<xref:System.ServiceModel.Activities.InitializeCorrelation.CorrelationData%2A>|False|A dictionary of correlation data that relates messages to the workflow instance.<br /><br /> Use the **Initialize Correlation** dialog box to configure the <xref:System.ServiceModel.Activities.InitializeCorrelation.CorrelationData%2A>. For more information about the use this dialog box, see the [Type Collection Editor Dialog Box](../workflow-designer/type-collection-editor-dialog-box.md)article.|
Copy file name to clipboardExpand all lines: docs/workflow-designer/receive-activity-designer.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ The following table shows the <xref:System.ServiceModel.Activities.Receive> prop
37
37
|-------------------|--------------|-----------|
38
38
|<xref:System.Activities.Activity.DisplayName%2A>|False|Specifies the friendly name of the <xref:System.ServiceModel.Activities.Receive> activity. The default value is Receive.<br /><br /> Although the use of a non-default value for the friendly <xref:System.Activities.Activity.DisplayName%2A> is not strictly required, it is a best practice to use such a value.|
39
39
|<xref:System.ServiceModel.Activities.Receive.OperationName%2A>|True|Specifies the name of the service operation implemented by this <xref:System.ServiceModel.Activities.Receive> activity. This property is used to construct the default value for the **Action** property if the **Action** property is not explicitly set.|
40
-
|<xref:System.ServiceModel.Activities.Receive.ServiceContractName%2A>|False|Specifies the name of the service contract. This property is used to group service operations into individual service contracts. All <xref:System.ServiceModel.Activities.Receive> activities that have the same <xref:System.ServiceModel.Activities.Receive.ServiceContractName%2A> are grouped into the same service contract (WSDL Port Type). The default value is the fully-qualified CLR name of the top level (root) activity.|
40
+
|<xref:System.ServiceModel.Activities.Receive.ServiceContractName%2A>|False|Specifies the name of the service contract. This property is used to group service operations into individual service contracts. All <xref:System.ServiceModel.Activities.Receive> activities that have the same <xref:System.ServiceModel.Activities.Receive.ServiceContractName%2A> are grouped into the same service contract (WSDL Port Type). The default value is the fullyqualified CLR name of the top level (root) activity.|
41
41
|<xref:System.ServiceModel.Activities.Receive.Content%2A>|False|Specifies the message or parameter content to receive. It can be either a <xref:System.ServiceModel.Activities.ReceiveMessageContent> activity or a <xref:System.ServiceModel.Activities.ReceiveParametersContent> activity. Edit this property by selecting the ellipsis button beside the **Content** field in property grid or clicking the **Define...** button beside the **Content** label on the **Receive** activity designer surface. Both display the **Content Definition** dialog. For more information about how to use this box, see the [Content Definition Dialog Box](../workflow-designer/content-definition-dialog-box.md) topic.|
42
42
|<xref:System.ServiceModel.Activities.Receive.CorrelatesOn%2A>|False|Specifies the correlations between <xref:System.ServiceModel.Activities.Receive> activities in service operations of a workflow with a <xref:System.ServiceModel.MessageQuerySet> object. Click the ellipsis button next to the <xref:System.ServiceModel.Activities.Receive.CorrelatesOn%2A> property in the properties grid to open the **CorrelatesOn Definition** dialog box. For more information about the use of this dialog box, see the [Content Definition Dialog Box](../workflow-designer/content-definition-dialog-box.md) topic.|
43
43
|<xref:System.ServiceModel.Activities.Receive.CorrelatesWith%2A>|False|Specifies the <xref:System.ServiceModel.Activities.CorrelationHandle> used to route the message to the appropriate workflow instance.<br /><br /> Click the ellipsis button next to the <xref:System.ServiceModel.Activities.Receive.CorrelatesWith%2A> property in the properties grid to open the **Expression Editor** dialog box. For more information about the use of this dialog box, see the [How to: Use the Expression Editor](../workflow-designer/how-to-use-the-expression-editor.md) topic.|
Copy file name to clipboardExpand all lines: docs/workflow-designer/send-activity-designer.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ The following table shows the <xref:System.ServiceModel.Activities.Send> propert
45
45
|<xref:System.ServiceModel.Activities.Send.ProtectionLevel%2A>|True|Specifies the <xref:System.Net.Security.ProtectionLevel> for the message.<br /><br /> 1. <xref:System.Net.Security.ProtectionLevel> means authentication only.<br />2. <xref:System.Net.Security.ProtectionLevel> means sign data to help ensure the integrity of transmitted data.<br />3. <xref:System.Net.Security.ProtectionLevel> means encrypt and sign data to help ensure the confidentiality and integrity of transmitted data.|
46
46
|<xref:System.ServiceModel.Activities.Send.SerializerOption%2A>|True|The serializer to use for the service operation to be called by the <xref:System.ServiceModel.Activities.Send> activity. The default value is <xref:System.Runtime.Serialization.DataContractSerializer>, which serializes and deserializes an instance of a type into an XML stream or document using a supplied data contract.|
47
47
|<xref:System.ServiceModel.Activities.Send.Action%2A>|False|Specifies the action header of the message. If it is not explicitly set, its value defaults to: https://tempuri.org/{service contract namespace}/{service contract name}/{operation name}. If specified on a <xref:System.ServiceModel.Activities.Send> activity, the <xref:System.ServiceModel.Activities.Receive> activity that receives the message must have the same value for the message to be delivered correctly.|
48
-
|<xref:System.ServiceModel.Activities.Send.TokenImpersonationLevel%2A>||The <xref:System.Security.Principal.TokenImpersonationLevel> allowed for the receiver of the message. It defines security impersonation levels which govern the degree to which a server process can act on behalf of a client process.<xref:System.Security.Principal.TokenImpersonationLevel> indicates that an impersonation level is not assigned. <xref:System.Security.Principal.TokenImpersonationLevel> indicates that the server process cannot obtain identification information about the client and it cannot impersonate the client. <xref:System.Security.Principal.TokenImpersonationLevel> indicates that the server process can obtain information about the client, such as security identifiers and privileges, but that it cannot impersonate the client. This is useful for servers that export their own objects, for example, database products that export tables and views. Using the retrieved client-security information, the server can make access-validation decisions without being able to use other services that are using the client's security context. <xref:System.Security.Principal.TokenImpersonationLevel> indicates that the server process can impersonate the client's security context on its local system. The server cannot impersonate the client on remote systems. <xref:System.Security.Principal.TokenImpersonationLevel> indicates that the server process can impersonate the client's security context on remote systems.|
48
+
|<xref:System.ServiceModel.Activities.Send.TokenImpersonationLevel%2A>||The <xref:System.Security.Principal.TokenImpersonationLevel> allowed for the receiver of the message. It defines security impersonation levels, which govern the degree to which a server process can act on behalf of a client process.<xref:System.Security.Principal.TokenImpersonationLevel> indicates that an impersonation level is not assigned. <xref:System.Security.Principal.TokenImpersonationLevel> indicates that the server process cannot obtain identification information about the client and it cannot impersonate the client. <xref:System.Security.Principal.TokenImpersonationLevel> indicates that the server process can obtain information about the client, such as security identifiers and privileges, but that it cannot impersonate the client. This is useful for servers that export their own objects, for example, database products that export tables and views. Using the retrieved client-security information, the server can make access-validation decisions without being able to use other services that are using the client's security context. <xref:System.Security.Principal.TokenImpersonationLevel> indicates that the server process can impersonate the client's security context on its local system. The server cannot impersonate the client on remote systems. <xref:System.Security.Principal.TokenImpersonationLevel> indicates that the server process can impersonate the client's security context on remote systems.|
49
49
|<xref:System.ServiceModel.Activities.Send.Endpoint%2A>||The <xref:System.ServiceModel.Endpoint> that the <xref:System.ServiceModel.Activities.Send> activity sends the message to. If this property is set the <xref:System.ServiceModel.Activities.Send.EndpointConfigurationName%2A> property should be **null**.|
50
50
|<xref:System.ServiceModel.Activities.Send.EndpointAddress%2A>||The <xref:System.ServiceModel.EndpointAddress> to which the message is sent.|
51
51
|<xref:System.ServiceModel.Activities.Send.EndpointConfigurationName%2A>||The name of the endpoint configuration. This property is set when you are configuring an endpoint in a configuration file. This property should be set to the name given in the **\<endpoint>** element in your configuration file. If this property is set, the <xref:System.ServiceModel.Activities.Send.Endpoint%2A> property should be **null**.|
0 commit comments