Jaa


VirtualMethodReturn.InvocationContext Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

Retrieves a dictionary that can be used to store arbitrary additional values. This allows the user to pass values between call handlers.

Namespace:  Microsoft.Practices.Unity.InterceptionExtension
Assembly:  Microsoft.Practices.Unity.Interception (in Microsoft.Practices.Unity.Interception.dll)

Syntax

'Declaration
Public ReadOnly Property InvocationContext As IDictionary
public IDictionary InvocationContext { get; }
public:
virtual property IDictionary^ InvocationContext {
    IDictionary^ get () sealed;
}
public final function get InvocationContext () : IDictionary

Implements

IMethodReturn.InvocationContext

Remarks

This is guaranteed to be the same dictionary that was used in the IMethodInvocation object, so handlers can set context properties in the pre-call phase and retrieve them in the after-call phase.

See Also

VirtualMethodReturn Class

Microsoft.Practices.Unity.InterceptionExtension Namespace