Choose Operation Dialog Box

The Choose Operation dialog box is used to select an operation to associate with a ReceiveActivity activity or a SendActivity activity. For more information about using this dialog box with those activities, see How to: Implement a Windows Communication Foundation Contract Operation and How to: Invoke a Windows Communication Foundation Contract Operation.

The following table describes the user interface (UI) elements of the Choose Operation dialog box.

UI Element Description

Add Contract

Creates a new contract for you. You can define new operations on this contract. (This is used with ReceiveActivity only.)

Add Operation

Adds new operations to a new contract that you created in the Choose Operation dialog box.

Note:
You can add new operations only to contracts you have created through the Choose Operation dialog box.

(This is used with ReceiveActivity only.)

Import...

Imports a previously defined contract and allows you to select an operation from that contract.

Operation Name

Name of the currently selected operation. This text box is available for editing only if you have created an operation through the Choose Operation dialog box.

Parameters

Tab containing the parameter definitions for the currently selected operation.

Note:
Parameter definitions can be changed only if you have created an operation through the Choose Operation dialog box.

Properties

Tab containing the ProtectionLevel settings for messages sent between the client and service.

Note:
This tab is enabled only if you have created an operation through the Choose Operation dialog box.

Permissions

Tab containing the PrincipalPermissionName and PrincipalPermissionRole properties of users that are allowed to call that operation. For example, if only users from the Administrators group were allowed to call that operation, then you would write "Administrators" in the Role text box.

This tab is enabled for both operations created through the Choose Operation dialog box and operations that were imported through the Import button.

Note:
The Choose Operation dialog box shows only contracts or operations that are used by other SendActivity activities in the workflow. Similarly, the Choose Operation dialog box for ReceiveActivity activities shows only contracts or operations that are used by other ReceiveActivity activities in the workflow.

See Also



Copyright © 2007 by Microsoft Corporation. All rights reserved.

Show: