Share via


MessageExtensions Class

Extension methods for manipulating Interactions.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.MessageExtensions

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class MessageExtensions
public static class MessageExtensions
[ExtensionAttribute]
public ref class MessageExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type MessageExtensions =  class end
public final class MessageExtensions

The MessageExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetOppositeMessage For a synchronous message, returns the reply. For a reply message, returns the outgoing message. Returns null for asynchronous messages.
Public methodStatic member GetSourceExecutionSpecification The Execution Specification from which this message is outgoing. Null if this is sourced directly on a lifeline or is a found message.
Public methodStatic member GetSourceLifeline The lifeline from which this message is outgoing. Null if this is a Found message.
Public methodStatic member GetTargetExecutionSpecification The Execution Specification to which this message is incoming. Null if this is targeted directly on a lifeline or is a lost message.
Public methodStatic member GetTargetLifeline The lifeline to which this message is incoming. Null if this is a Lost message.

Top

Remarks

For more information about UML diagrams, see Developing Models for Software Design.

For more information about using the UML API, see Extending UML Models and Diagrams.

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace