ExecutionWayAttribute Class

Specifies the business operation execution way.

Namespace: Xafari.BC.BusinessOperations.Attributes
Assembly: Xafari.BC (in Xafari.BC.dll)

  • c#
  • VB

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] public class ExecutionWayAttribute : Attribute

<AttributeUsage(AttributeTargets.[Class], AllowMultiple := False, Inherited := False)> _
Public Class ExecutionWayAttribute
  Inherits Attribute
End Class

Name Description
msdn2017/pubmethod ExecutionWayAttribute(ExecutionWays) Initializes a new instance of the class with the specified parameter.
Top
Name Description
msdn2017/pubproperty ExecutionWay Gets the execution way of the business operation.
Top

The attribute is used with business operations classes (see IOperationService) to specify the way of execution in managed context (see ManagedOperation). Possible ways is defined by elements of the ExecutionWays enumeration.

The value defines by this attribute is representing in the appropriate business operation node of the application model and may be edited.

 [ExecutionWay(ExecutionWays.Synchronous)]
 public class CalcOrderTotalList : BusinessOperationBase
 {
     ...
 					
Xafari.BC.BusinessOperations.Attributes.ExecutionWayAttribute

.NET Framework Client Profile

Supported in: 4, 3.5 SP1