CorrelationActionMessageFilter.Match Method (Message)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Determines whether the specified message’s action matches the Action of this CorrelationActionMessageFilter.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

public override bool Match(
	Message message


Type: System.ServiceModel.Channels.Message

The message to compare.

Return Value

Type: System.Boolean

true if the action matches; otherwise, false.

A message’s action is specified by the Action property of the message’s Headers.

.NET Framework
Available since 4.0
Return to top