Breyta

Deila með


CorrelationCallbackMessageProperty Class

Definition

Provides an abstract base class for deferring correlation key calculation until all of the correlation data is available.

public ref class CorrelationCallbackMessageProperty abstract : System::ServiceModel::Channels::IMessageProperty
public abstract class CorrelationCallbackMessageProperty : System.ServiceModel.Channels.IMessageProperty
type CorrelationCallbackMessageProperty = class
    interface IMessageProperty
Public MustInherit Class CorrelationCallbackMessageProperty
Implements IMessageProperty
Inheritance
CorrelationCallbackMessageProperty
Implements

Remarks

This is typically used to allow other channels to provide correlation data before a message is sent on the wire.

Constructors

CorrelationCallbackMessageProperty(CorrelationCallbackMessageProperty)

Called by derived classes to initialize a new instance of the derived class using the required correlation data from another CorrelationCallbackMessageProperty derived class instance.

CorrelationCallbackMessageProperty(ICollection<String>)

Called by derived classes to initialize a new instance of the derived class using the specified collection of correlation data that is required to calculate the correlation.

Properties

IsFullyDefined

Determines whether the CorrelationCallbackMessageProperty has all of the required correlation data.

Name

Gets the name of this message property: "CorrelationCallbackMessageProperty".

NeededData

Gets a list of correlation data that is required before correlation can be applied.

Methods

AddData(String, Func<String>)

Adds required correlation data to the property.

BeginFinalizeCorrelation(Message, TimeSpan, AsyncCallback, Object)

Called by a correlation protocol when all of the correlation information is available to asynchronously construct the correlation.

CreateCopy()

When overridden in a derived class, initializes and returns a copy of the derived message property instance.

EndFinalizeCorrelation(IAsyncResult)

Returns the message that was prepared asynchronously for correlation.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FinalizeCorrelation(Message, TimeSpan)

Called by a correlation protocol when all of the correlation information is available to construct the correlation.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnBeginFinalizeCorrelation(Message, TimeSpan, AsyncCallback, Object)

When overridden in a derived class, asynchronously performs the correlation calculation for the specified message.

OnEndFinalizeCorrelation(IAsyncResult)

When overridden in a derived class, returns the message that was prepared asynchronously for correlation.

OnFinalizeCorrelation(Message, TimeSpan)

When overridden in a derived class, performs the correlation calculation for the specified message.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGet(Message, CorrelationCallbackMessageProperty)

Attempts to get a CorrelationCallbackMessageProperty from the specified message's Properties.

TryGet(MessageProperties, CorrelationCallbackMessageProperty)

Attempts to get a CorrelationCallbackMessageProperty from the specified message properties.

Applies to