Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.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
See Also
InteractionExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top