CorrelationCallbackMessageProperty CorrelationCallbackMessageProperty CorrelationCallbackMessageProperty 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
CorrelationCallbackMessagePropertyCorrelationCallbackMessagePropertyCorrelationCallbackMessagePropertyCorrelationCallbackMessageProperty
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) CorrelationCallbackMessageProperty(CorrelationCallbackMessageProperty) CorrelationCallbackMessageProperty(CorrelationCallbackMessageProperty) 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>) CorrelationCallbackMessageProperty(ICollection<String>) CorrelationCallbackMessageProperty(ICollection<String>) 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 IsFullyDefined IsFullyDefined IsFullyDefined

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

Name Name Name Name

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

NeededData NeededData NeededData NeededData

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

Methods

AddData(String, Func<String>) AddData(String, Func<String>) AddData(String, Func<String>) AddData(String, Func<String>)

Adds required correlation data to the property.

BeginFinalizeCorrelation(Message, TimeSpan, AsyncCallback, Object) BeginFinalizeCorrelation(Message, TimeSpan, AsyncCallback, Object) BeginFinalizeCorrelation(Message, TimeSpan, AsyncCallback, Object) BeginFinalizeCorrelation(Message, TimeSpan, AsyncCallback, Object)

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

CreateCopy() CreateCopy() CreateCopy() CreateCopy()

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

EndFinalizeCorrelation(IAsyncResult) EndFinalizeCorrelation(IAsyncResult) EndFinalizeCorrelation(IAsyncResult) EndFinalizeCorrelation(IAsyncResult)

Returns the message that was prepared asynchronously for correlation.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
FinalizeCorrelation(Message, TimeSpan) FinalizeCorrelation(Message, TimeSpan) FinalizeCorrelation(Message, TimeSpan) FinalizeCorrelation(Message, TimeSpan)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

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

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

OnEndFinalizeCorrelation(IAsyncResult) OnEndFinalizeCorrelation(IAsyncResult) OnEndFinalizeCorrelation(IAsyncResult) OnEndFinalizeCorrelation(IAsyncResult)

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

OnFinalizeCorrelation(Message, TimeSpan) OnFinalizeCorrelation(Message, TimeSpan) OnFinalizeCorrelation(Message, TimeSpan) OnFinalizeCorrelation(Message, TimeSpan)

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

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGet(Message, CorrelationCallbackMessageProperty) TryGet(Message, CorrelationCallbackMessageProperty) TryGet(Message, CorrelationCallbackMessageProperty) TryGet(Message, CorrelationCallbackMessageProperty)

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

TryGet(MessageProperties, CorrelationCallbackMessageProperty) TryGet(MessageProperties, CorrelationCallbackMessageProperty) TryGet(MessageProperties, CorrelationCallbackMessageProperty) TryGet(MessageProperties, CorrelationCallbackMessageProperty)

Attempts to get a CorrelationCallbackMessageProperty from the specified message properties.

Applies to