Partager via


ExceptionHandlerSetting.Policy 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.

Gets the name of the policy to which the handler is registered.

Namespace:  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability
Assembly:  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll)

Syntax

'Declaration
PublicPropertyPolicyAs String
public string Policy { get; internalset; }
public:
property String^ Policy {
    String^ get ();
    voidset (String^ value);
}
publicfunction getPolicy () : String
publicfunction setPolicy (value : String)

Remarks

This property is used toghether with ExceptionType to relate the objects representing exception policies, exception types and exception handlers.

See Also

ExceptionHandlerSetting Class

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability Namespace

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.