CallbackContextMessageProperty Class

.NET Framework (current version)
 
System_CAPS_noteNote

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

Represents the contents of the wsc:CallbackContext message header when using a channel that supports the context exchange protocol.

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

System.Object
  System.ServiceModel.Channels.CallbackContextMessageProperty

[<SerializableAttribute>]
type CallbackContextMessageProperty = 
    class
        interface IMessageProperty
    end

NameDescription
System_CAPS_pubmethodCallbackContextMessageProperty(EndpointAddress)

Initializes a new instance of the CallbackContextMessageProperty class with the specified EndpointAddress.

System_CAPS_pubmethodCallbackContextMessageProperty(EndpointAddress, IDictionary<String, String>)

Initializes a new instance of the CallbackContextMessageProperty class with the specified EndpointAddress and a IDictionary<'TKey, 'TValue> that contains context information.

System_CAPS_pubmethodCallbackContextMessageProperty(IDictionary<String, String>)

Initializes a new instance of the CallbackContextMessageProperty class with the specified context.

System_CAPS_pubmethodCallbackContextMessageProperty(String, IDictionary<String, String>)

Initializes a new instance of the CallbackContextMessageProperty class with the specified listen address and context information.

System_CAPS_pubmethodCallbackContextMessageProperty(Uri, IDictionary<String, String>)

Initializes a new instance of the CallbackContextMessageProperty class with the specified listen address and context information.

NameDescription
System_CAPS_pubpropertyCallbackAddress

Gets the callback address.

System_CAPS_pubpropertyContext

Gets the context associated with the CallbackContextMessageProperty.

System_CAPS_pubpropertySystem_CAPS_staticName

Gets the property name for the CallbackContextMessageProperty class.

NameDescription
System_CAPS_pubmethodAddOrReplaceInMessage(Message)

Adds or replaces the current CallbackContextMessageProperty instance within the specified message.

System_CAPS_pubmethodAddOrReplaceInMessageProperties(MessageProperties)

Adds or replaces the current CallbackContextMessageProperty instance within the specified message properties collection.

System_CAPS_pubmethodCreateCallbackAddress(Uri)

Merges the client's listenAddress and its context into a single callback address that is sent to the service.

System_CAPS_pubmethodCreateCopy()

Creates a copy of the CallbackContextMessageProperty instance.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetListenAddressAndContext(EndpointAddress, IDictionary<String, String>)

Gets the listen address and context data from the CallbackContextMessageProperty instance.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticTryGet(Message, CallbackContextMessageProperty)

Attempts to get a CallbackContextMessageProperty instance from the specified message.

System_CAPS_pubmethodSystem_CAPS_staticTryGet(MessageProperties, CallbackContextMessageProperty)

Attempts to get a CallbackContextMessageProperty instance from the specified message properties.

The context exchange protocol allows for duplex communication between durable services.

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: