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
參數
messageKind
類型:Microsoft.VisualStudio.Uml.Interactions.MessageKind遺失 = 訊息有位定義的目標,尋獲 = 未定義的來源。
lostFoundInsertionPoint
類型:Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.IInsertionPoint生命線上的端點的插入點。
傳回值
類型:Microsoft.VisualStudio.Uml.Interactions.IMessage
使用注意事項
在 Visual Basic 和 C# 中,您可以在任何 IInteraction 類型物件中呼叫這個方法以做為執行個體。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱擴充方法 (Visual Basic)或擴充方法 (C# 程式設計手冊)。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml 命名空間