Share via


MessageExtensions.GetTargetExecutionSpecification Method

The Execution Specification to which this message is incoming. Null if this is targeted directly on a lifeline or is a lost message.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetTargetExecutionSpecification ( _
    message As IMessage _
) As IExecutionSpecification
public static IExecutionSpecification GetTargetExecutionSpecification(
    this IMessage message
)
[ExtensionAttribute]
public:
static IExecutionSpecification^ GetTargetExecutionSpecification(
    IMessage^ message
)
static member GetTargetExecutionSpecification : 
        message:IMessage -> IExecutionSpecification
public static function GetTargetExecutionSpecification(
    message : IMessage
) : IExecutionSpecification

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Interactions.IExecutionSpecification

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMessage. 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

MessageExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace