InteractionExtensions::CreateMessage Method (IInteraction^, IInsertionPoint^, IInsertionPoint^, MessageKind, MessageSort)
Visual Studio 2015
Create a complete message, beginning and ending on specified lifelines.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: [ExtensionAttribute] static IMessage^ CreateMessage( IInteraction^ parent, IInsertionPoint^ sourceInsertionPoint, IInsertionPoint^ targetInsertionPoint, MessageKind messageKind, MessageSort messageSort )
Parameters
- parent
- Type: Microsoft.VisualStudio.Uml.Interactions::IInteraction^
- sourceInsertionPoint
-
Type:
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml::IInsertionPoint^
An insertion point on the sending lifeline.
- targetInsertionPoint
-
Type:
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml::IInsertionPoint^
An insertion point on the receiving lifeline.
- messageKind
-
Type:
Microsoft.VisualStudio.Uml.Interactions::MessageKind
Must be MessageKind.Complete. Use CreateLostOrFoundMessage() for other MessageKinds
- messageSort
-
Type:
Microsoft.VisualStudio.Uml.Interactions::MessageSort
Synchronous = message has a return part; Asynchronous = message has no return part.
Return Value
Type: Microsoft.VisualStudio.Uml.Interactions::IMessage^
Show: