InteractionExtensions.CreateLostFoundMessage 方法

创建一条不在生命线上开始或结束的消息。

命名空间:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
程序集:  Microsoft.VisualStudio.ArchitectureTools.Extensibility(在 Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll 中)

语法

声明
<ExtensionAttribute> _
Public Shared Function CreateLostFoundMessage ( _
    parent As IInteraction, _
    messageKind As MessageKind, _
    lostFoundInsertionPoint As IInsertionPoint _
) As IMessage
public static IMessage CreateLostFoundMessage(
    this IInteraction parent,
    MessageKind messageKind,
    IInsertionPoint lostFoundInsertionPoint
)
[ExtensionAttribute]
public:
static IMessage^ CreateLostFoundMessage(
    IInteraction^ parent, 
    MessageKind messageKind, 
    IInsertionPoint^ lostFoundInsertionPoint
)
static member CreateLostFoundMessage : 
        parent:IInteraction * 
        messageKind:MessageKind * 
        lostFoundInsertionPoint:IInsertionPoint -> IMessage 
public static function CreateLostFoundMessage(
    parent : IInteraction, 
    messageKind : MessageKind, 
    lostFoundInsertionPoint : IInsertionPoint
) : IMessage

参数

返回值

类型:Microsoft.VisualStudio.Uml.Interactions.IMessage

使用说明

在 Visual Basic 和 C# 中,可以在 IInteraction 类型的任何对象上将此方法作为实例方法来调用。当使用实例方法语法调用此方法时,请省略第一个参数。有关更多信息,请参见扩展方法 (Visual Basic)扩展方法(C# 编程指南)

.NET Framework 安全性

请参见

参考

InteractionExtensions 类

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml 命名空间