Partager via


IMethodReturn.Exception 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.

If the method threw an exception, the exception object is here.

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

Syntax

'Declaration
Property Exception As Exception
Exception Exception { get; set; }
property Exception^ Exception {
    Exception^ get ();
    void set (Exception^ value);
}
function get Exception () : Exception
function set Exception (value : Exception)

See Also

IMethodReturn Interface

Microsoft.Practices.Unity.InterceptionExtension Namespace