Partager via


ExceptionShieldingElement.ExceptionPolicyName 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 or sets the name of the exception policy.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("exceptionPolicyName", DefaultValue := "WCF Exception Shielding",  _
    IsRequired := False)> _
PublicPropertyExceptionPolicyNameAs String
[ConfigurationPropertyAttribute("exceptionPolicyName", DefaultValue = "WCF Exception Shielding", 
    IsRequired = false)]
public string ExceptionPolicyName { get; set; }
[ConfigurationPropertyAttribute(L"exceptionPolicyName", DefaultValue = L"WCF Exception Shielding", 
    IsRequired = false)]
public:
property String^ ExceptionPolicyName {
    String^ get ();
    voidset (String^ value);
}
publicfunction getExceptionPolicyName () : String
publicfunction setExceptionPolicyName (value : String)

Field Value

The name of the exception policy.

See Also

ExceptionShieldingElement Class

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF 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.