@@ -168,7 +168,7 @@ Select a service endpoint by following these steps:
168
168
169
169
1 . When you enter the code , an IntelliSense list displays that includes the overloads for the constructor . Select the `endpointConfigurationName As String ` overload .
170
170
171
- 1 . After you select the overload , enter `= " <Endpoint >" `, where `< Endpoint > ` is the name of the endpoint service you want to use .
171
+ 1 . After you select the overload , enter `= " <ServiceEndpoint >" `, where `< ServiceEndpoint > ` is the name of the endpoint service you want to use .
172
172
173
173
> [!TIP ]
174
174
> The names of the available endpoints are defined in the * app .config * file .
@@ -185,16 +185,15 @@ To find the available endpoints for a WCF service, follow these steps:
185
185
186
186
When the service reference provides multiple endpoints , there are two or more `< Endpoint > ` tags .
187
187
188
- 1 . In the `< EndPoint > ` tag definition , locate the `name = " <Endpoint >" ` parameter (where `< Endpoint > ` represents an endpoint name ). This value is the name for the endpoint that can be passed to the `endpointConfigurationName As String ` overload of a constructor for a service reference .
188
+ 1 . In the `< EndPoint > ` tag definition , locate the `name = " <ServiceEndpoint >" ` parameter (where `< ServiceEndpoint > ` represents an endpoint name for the service ). This value is the name for the service endpoint that can be passed to the `endpointConfigurationName As String ` overload of a constructor for a service reference .
189
189
190
190
## Call service methods asynchronously
191
191
192
192
Most methods in WCF services can be called synchronously or asynchronously . When you call a method asynchronously , your application can continue to work while the method is being called . This approach is useful when the system operates over a slow connection.
193
193
194
194
When a service reference is added to a project , the default configuration is to call methods synchronously . You can change the behavior to call methods asynchronously in the **Configure Service Reference ** dialog .
195
195
196
- > [!NOTE ]
197
- > This option is set on a **per -service ** basis . If one method for a service is called asynchronously , all methods must be called asynchronously .
196
+ The option is set on a **per -service ** basis . If one method for a service is called asynchronously , all methods must be called asynchronously .
198
197
199
198
[! INCLUDE [note_settings_general ](.. / data - tools / includes / note_settings_general_md .md )]
200
199
0 commit comments