Share via


MessageExtensions.GetOppositeMessage Method (IMessage)

 

For a synchronous message, returns the reply. For a reply message, returns the outgoing message. Returns null for asynchronous messages.

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

Syntax

public static IMessage GetOppositeMessage(
    this IMessage message
)
public:
[ExtensionAttribute]
static IMessage^ GetOppositeMessage(
    IMessage^ message
)
static member GetOppositeMessage : 
        message:IMessage -> IMessage
<ExtensionAttribute>
Public Shared Function GetOppositeMessage (
    message As IMessage
) As IMessage

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Interactions.IMessage

See Also

MessageExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top