This documentation is archived and is not being maintained.

OperationInfo Class

Represents the information for a contract operation defined in a workflow service.

Namespace:  System.Workflow.Activities
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

public sealed class OperationInfo : OperationInfoBase

The OperationInfo type exposes the following members.

  NameDescription
Public methodOperationInfoInitializes a new instance of the OperationInfo class.
Top

  NameDescription
Public propertyContractNameGets or sets the full name of the contract that defines this operation.
Protected propertyDesignModeGets the value that indicates whether this instance is in design or run-time mode. (Inherited from DependencyObject.)
Public propertyHasProtectionLevelGets information on whether or not the operation has a defined ProtectionLevel.
Public propertyIsOneWayGets or sets information on the operation to specify that communication between the service and a client is one-way.
Public propertyNameWhen implemented in a derived class, gets or sets the name associated with this instance. (Inherited from OperationInfoBase.)
Public propertyParametersGets a collection of OperationParameterInfo objects that represents the parameter definitions used by the operation.
Protected propertyParentDependencyObjectGets the parent DependencyObject in the DependencyObject graph. (Inherited from DependencyObject.)
Public propertyPrincipalPermissionNameGets or sets the user name associated with the security context of the operation. (Inherited from OperationInfoBase.)
Public propertyPrincipalPermissionRoleGets or sets the user role (e.g. Administrator) associated with the security context of the operation. (Inherited from OperationInfoBase.)
Public propertyProtectionLevelGets or sets the ProtectionLevel of an operation.
Public propertySiteGets or sets a reference to the Site component of the DependencyObject. (Inherited from DependencyObject.)
Public propertyUserDataGets an IDictionary that associates custom data with this class instance. (Inherited from DependencyObject.)
Top

  NameDescription
Public methodAddHandlerAdds a handler for an event of a DependencyObject. (Inherited from DependencyObject.)
Public methodCloneCreates a copy of the object. (Overrides OperationInfoBase.Clone().)
Public methodDispose()Releases all the resources used by the DependencyObject. (Inherited from DependencyObject.)
Protected methodDispose(Boolean)Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject. (Inherited from DependencyObject.)
Public methodEqualsDetermines whether two object instances are equal. (Overrides OperationInfoBase.Equals(Object).)
Protected methodFinalizeProvided as an override to Object.Finalize to clean up any unmanaged resources deterministically. (Inherited from DependencyObject.)
Public methodGetBindingProvides access to the ActivityBind associated with the specific DependencyProperty. (Inherited from DependencyObject.)
Protected methodGetBoundValueRetrieves the Object that is the subject of an ActivityBind. (Inherited from DependencyObject.)
Protected methodGetContractFullNameReturns the full name of the contract that implements this operation. (Inherited from OperationInfoBase.)
Protected methodGetContractTypeReturns the type of the contract associated with this operation. (Inherited from OperationInfoBase.)
Public methodGetHashCodeReturns a hash code for the current OperationInfo. (Overrides OperationInfoBase.GetHashCode().)
Protected methodGetInvocationList<T>Gets an array that contains the delegates for the specified DependencyProperty. (Inherited from DependencyObject.)
Protected methodGetIsOneWaytrue if this operation is one-way, false if it is two-way. (Inherited from OperationInfoBase.)
Protected methodGetMethodInfoGets the MethodInfo associated with the operation. (Inherited from OperationInfoBase.)
Protected methodGetParametersGets the collection of parameters associated with the operation. (Inherited from OperationInfoBase.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValueProvides access to the value of the designated DependencyProperty. (Inherited from DependencyObject.)
Public methodGetValueBaseProvides access to the bound object of a DependencyProperty and bypasses the GetValue override. (Inherited from DependencyObject.)
Protected methodInitializePropertiesPerforms initialization on dependency properties when overridden in a derived class. (Inherited from DependencyObject.)
Public methodIsBindingSetIndicates whether the value of a DependencyProperty is set as a binding. See SetBinding. (Inherited from DependencyObject.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMetaEqualsDetermines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject. (Inherited from DependencyObject.)
Public methodRemoveHandlerRemoves an EventHandler from an associated DependencyProperty. (Inherited from DependencyObject.)
Public methodRemovePropertyRemoves a DependencyProperty from the DependencyObject. (Inherited from DependencyObject.)
Public methodSetBindingSets the ActivityBind for the specified DependencyProperty. (Inherited from DependencyObject.)
Protected methodSetBoundValueSets the value of the target ActivityBind. (Inherited from DependencyObject.)
Protected methodSetReadOnlyPropertyValueSets the value of a DependencyProperty, which is read-only. (Inherited from DependencyObject.)
Public methodSetValueSets the value of the DependencyProperty to the object. (Inherited from DependencyObject.)
Public methodSetValueBaseSets the value of the DependencyProperty to the specified Object, bypassing the SetValue. (Inherited from DependencyObject.)
Public methodToStringProvides a string that represents this instance. (Overrides Object.ToString().)
Top

  NameDescription
Explicit interface implemetationPrivate eventIComponent.DisposedRepresents the method that handles the Disposed event of a component. (Inherited from DependencyObject.)
Top

The OperationInfo class is used to define service contract information for a ReceiveActivity activity.

NoteNote

The OperationInfo class can be used only with a workflow-first service. For more information about workflow-first services, see Workflow Service Authoring Styles.

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: