InteractionExtensions.CreateMessage (Método)

Cree un mensaje completo, que empiece y termine en las líneas de vida especificadas.

Espacio de nombres:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Ensamblado:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (en Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Sintaxis

'Declaración
<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

Parámetros

Valor devuelto

Tipo: Microsoft.VisualStudio.Uml.Interactions.IMessage

Nota sobre el uso

En Visual Basic y C#, se puede llamar a este método como a un método de instancia en cualquier objeto de tipo IInteraction. Cuando emplee la sintaxis del método de instancia para llamar a este método, omita el primer parámetro. Para obtener más información, vea Métodos de extensión (Visual Basic) o Métodos de extensión (Guía de programación de C#).

Seguridad de .NET Framework

Vea también

Referencia

InteractionExtensions Clase

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml (Espacio de nombres)