共用方式為


InteractionOperatorKind Enumeration

Describes how the Operands of a CombinedFragment are to be combined.

Namespace:  Microsoft.VisualStudio.Uml.Interactions
Assembly:  Microsoft.VisualStudio.Uml.Interfaces (in Microsoft.VisualStudio.Uml.Interfaces.dll)

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public Enumeration InteractionOperatorKind
[CLSCompliantAttribute(true)]
public enum InteractionOperatorKind
[CLSCompliantAttribute(true)]
public enum class InteractionOperatorKind
[<CLSCompliantAttribute(true)>]
type InteractionOperatorKind
public enum InteractionOperatorKind

Members

Member name Description
Alt There are two or more operands, and only one of them will be executed.
Assert The operand specifies the only valid sequences. Typically used within a Consider or Ignore operand.
Break If this fragment is executed, the rest of the sequence is abandoned. If a guard is defiend, it whether the break will occur.
Consider Specifies a list of messages that the operand describes. Other messages can occur in the specified system, but are not significant for the purposes of this interaction.
Critical
Ignore Specifies a list of messages that the operand does not describe. They can occur in the specified system, but are not significant for the purposes of this interaction.
Loop There is one operand, which can be repeated. If there is a guard, it determines when the repetition terminates.
Neg The sequence shown in this operand must not happen. Typically used inside a Consider or Ignore operand.
Opt There is one operand which might or might not be executed. If a Guard is defined, it determines whether the operand is executed.
Par Parallel. The events in the fragments can be interleaved.
Seq There are two or more operand. Messages involving the same lifeline must occur in the order of the operands. Where they do not involve the same lifelines, messages from different operands may be interleaved in parallel.
Strict There are two or more operands, which must occur in the order given.

Remarks

Note

The methods defined on this type are extension methods. To use the methods, you must add a project reference to the .NET assembly Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll, and you must include the directive using Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml; in your code.

See Also

Reference

Microsoft.VisualStudio.Uml.Interactions Namespace