InteractionExtensions.CreateMessage Method (IInteraction, IInsertionPoint, IInsertionPoint, MessageKind, MessageSort)
Create a complete message, beginning and ending on specified lifelines.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
public static IMessage CreateMessage(
this IInteraction parent,
IInsertionPoint sourceInsertionPoint,
IInsertionPoint targetInsertionPoint,
MessageKind messageKind,
MessageSort messageSort
)
public:
[ExtensionAttribute]
static IMessage^ CreateMessage(
IInteraction^ parent,
IInsertionPoint^ sourceInsertionPoint,
IInsertionPoint^ targetInsertionPoint,
MessageKind messageKind,
MessageSort messageSort
)
static member CreateMessage :
parent:IInteraction *
sourceInsertionPoint:IInsertionPoint *
targetInsertionPoint:IInsertionPoint *
messageKind:MessageKind *
messageSort:MessageSort -> IMessage
<ExtensionAttribute>
Public Shared Function CreateMessage (
parent As IInteraction,
sourceInsertionPoint As IInsertionPoint,
targetInsertionPoint As IInsertionPoint,
messageKind As MessageKind,
messageSort As MessageSort
) As IMessage
Parameters
- parent
Type: Microsoft.VisualStudio.Uml.Interactions.IInteraction
sourceInsertionPoint
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.IInsertionPointAn insertion point on the sending lifeline.
targetInsertionPoint
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.IInsertionPointAn insertion point on the receiving lifeline.
messageKind
Type: Microsoft.VisualStudio.Uml.Interactions.MessageKindMust be MessageKind.Complete. Use CreateLostOrFoundMessage() for other MessageKinds
messageSort
Type: Microsoft.VisualStudio.Uml.Interactions.MessageSortSynchronous = message has a return part; Asynchronous = message has no return part.
Return Value
Type: Microsoft.VisualStudio.Uml.Interactions.IMessage
See Also
InteractionExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top