OperationInfo Class
Represents the information for a contract operation defined in a workflow service.
Assembly: System.WorkflowServices (in System.WorkflowServices.dll)
System.Workflow.ComponentModel::DependencyObject
System.Workflow.Activities::OperationInfoBase
System.Workflow.Activities::OperationInfo
| Name | Description | |
|---|---|---|
![]() | OperationInfo() | Initializes a new instance of the OperationInfo class. |
| Name | Description | |
|---|---|---|
![]() | ContractName | Gets or sets the full name of the contract that defines this operation. |
![]() | DesignMode | Gets the value that indicates whether this instance is in design or run-time mode.(Inherited from DependencyObject.) |
![]() | HasProtectionLevel | Gets information on whether or not the operation has a defined ProtectionLevel. |
![]() | IsOneWay | Gets or sets information on the operation to specify that communication between the service and a client is one-way. |
![]() | Name | When implemented in a derived class, gets or sets the name associated with this instance.(Inherited from OperationInfoBase.) |
![]() | Parameters | Gets a collection of OperationParameterInfo objects that represents the parameter definitions used by the operation. |
![]() | PrincipalPermissionName | Gets or sets the user name associated with the security context of the operation.(Inherited from OperationInfoBase.) |
![]() | PrincipalPermissionRole | Gets or sets the user role (e.g. Administrator) associated with the security context of the operation.(Inherited from OperationInfoBase.) |
![]() | ProtectionLevel | Gets or sets the ProtectionLevel of an operation. |
![]() | Site | Gets or sets a reference to the Site component of the DependencyObject.(Inherited from DependencyObject.) |
![]() | UserData | Gets an IDictionary that associates custom data with this class instance.(Inherited from DependencyObject.) |
| Name | Description | |
|---|---|---|
![]() | AddHandler(DependencyProperty^, Object^) | Adds a handler for an event of a DependencyObject.(Inherited from DependencyObject.) |
![]() | Clone() | Creates a copy of the object.(Overrides OperationInfoBase::Clone().) |
![]() | Dispose() | Releases all the resources used by the DependencyObject.(Inherited from DependencyObject.) |
![]() | Equals(Object^) | Determines whether two object instances are equal.(Overrides OperationInfoBase::Equals(Object^).) |
![]() | GetBinding(DependencyProperty^) | Provides access to the ActivityBind associated with the specific DependencyProperty.(Inherited from DependencyObject.) |
![]() | GetContractFullName(IServiceProvider^) | Returns the full name of the contract that implements this operation. (Inherited from OperationInfoBase.) |
![]() | GetContractType(IServiceProvider^) | Returns the type of the contract associated with this operation.(Inherited from OperationInfoBase.) |
![]() | GetHashCode() | Returns a hash code for the current OperationInfo. (Overrides OperationInfoBase::GetHashCode().) |
![]() | GetIsOneWay(IServiceProvider^) | true if this operation is one-way, false if it is two-way.(Inherited from OperationInfoBase.) |
![]() | GetMethodInfo(IServiceProvider^) | Gets the MethodInfo associated with the operation.(Inherited from OperationInfoBase.) |
![]() | GetParameters(IServiceProvider^) | Gets the collection of parameters associated with the operation.(Inherited from OperationInfoBase.) |
![]() | GetType() | |
![]() | GetValue(DependencyProperty^) | Provides access to the value of the designated DependencyProperty.(Inherited from DependencyObject.) |
![]() | GetValueBase(DependencyProperty^) | Provides access to the bound object of a DependencyProperty and bypasses the GetValue override.(Inherited from DependencyObject.) |
![]() | IsBindingSet(DependencyProperty^) | Indicates whether the value of a DependencyProperty is set as a binding. See SetBinding.(Inherited from DependencyObject.) |
![]() | MetaEquals(DependencyObject^) | Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.(Inherited from DependencyObject.) |
![]() | RemoveHandler(DependencyProperty^, Object^) | Removes an EventHandler from an associated DependencyProperty.(Inherited from DependencyObject.) |
![]() | RemoveProperty(DependencyProperty^) | Removes a DependencyProperty from the DependencyObject.(Inherited from DependencyObject.) |
![]() | SetBinding(DependencyProperty^, ActivityBind^) | Sets the ActivityBind for the specified DependencyProperty. (Inherited from DependencyObject.) |
![]() | SetReadOnlyPropertyValue(DependencyProperty^, Object^) | Sets the value of a DependencyProperty, which is read-only.(Inherited from DependencyObject.) |
![]() | SetValue(DependencyProperty^, Object^) | Sets the value of the DependencyProperty to the object.(Inherited from DependencyObject.) |
![]() | SetValueBase(DependencyProperty^, Object^) | Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue.(Inherited from DependencyObject.) |
![]() | ToString() | Provides a string that represents this instance.(Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | IComponent::Disposed | Represents the method that handles the Disposed event of a component.(Inherited from DependencyObject.) |
Note |
|---|
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5. |
The OperationInfo class is used to define service contract information for a ReceiveActivity activity.
Note |
|---|
The OperationInfo class can be used only with a workflow-first service. For more information about workflow-first services, see Workflow Service Authoring Styles. |
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






