共用方式為


ExecutionSpecificationExtensions.GetIncomingMessages Method

The incoming messages targeted directly to this Execution Specification. Use GetIssuingMessage() for the message that starts the Execution Specification.

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

Syntax

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

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IMessage>

Usage Note

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

ExecutionSpecificationExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace