MessageExtensions Class

 

Extension methods for manipulating Interactions.

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

Inheritance Hierarchy

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

Syntax

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

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetOppositeMessage(IMessage)

For a synchronous message, returns the reply. For a reply message, returns the outgoing message. Returns null for asynchronous messages.

System_CAPS_pubmethodSystem_CAPS_static GetSourceExecutionSpecification(IMessage)

The Execution Specification from which this message is outgoing. Null if this is sourced directly on a lifeline or is a found message.

System_CAPS_pubmethodSystem_CAPS_static GetSourceLifeline(IMessage)

The lifeline from which this message is outgoing. Null if this is a Found message.

System_CAPS_pubmethodSystem_CAPS_static GetTargetExecutionSpecification(IMessage)

The Execution Specification to which this message is incoming. Null if this is targeted directly on a lifeline or is a lost message.

System_CAPS_pubmethodSystem_CAPS_static GetTargetLifeline(IMessage)

The lifeline to which this message is incoming. Null if this is a Lost message.

Remarks

For more information about UML diagrams, see Create models for your app.

For more information about using the UML API, see Extend 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

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top