Partager via


InteractionExtensions.CreateMessage Method

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

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateMessage ( _
    parent As IInteraction, _
    sourceInsertionPoint As IInsertionPoint, _
    targetInsertionPoint As IInsertionPoint, _
    messageKind As MessageKind, _
    messageSort As MessageSort _
) As IMessage
public static IMessage CreateMessage(
    this IInteraction parent,
    IInsertionPoint sourceInsertionPoint,
    IInsertionPoint targetInsertionPoint,
    MessageKind messageKind,
    MessageSort messageSort
)
[ExtensionAttribute]
public:
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
public static function CreateMessage(
    parent : IInteraction, 
    sourceInsertionPoint : IInsertionPoint, 
    targetInsertionPoint : IInsertionPoint, 
    messageKind : MessageKind, 
    messageSort : MessageSort
) : IMessage

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Interactions.IMessage

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IInteraction. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

InteractionExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace