InteractionExtensions.CreateLostFoundMessage Method
Create a message that does not begin on a lifeline, or that does not end on a lifeline.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
<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
Parameters
- parent
Type: Microsoft.VisualStudio.Uml.Interactions.IInteraction
messageKind
Type: Microsoft.VisualStudio.Uml.Interactions.MessageKindLost = message has an undefined target, Found = undefined source.
lostFoundInsertionPoint
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.IInsertionPointInsertion point for the end that is on a lifeline.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace