PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​TransactionsITransaction­PolicyGet­Extended­Property
Open sandboxFocus

ITransactionPolicy.GetExtendedProperty Method

GetExtendedProperty(String, String)

Gets an extended property defined by the policy (typically an XML attribute) and specific to the back-end.

Declaration
string GetExtendedProperty(string name, string defaultValue = null)
Parameters
Type Name Description
System.String name

Property name (or XML attribute). Case sensitive.

System.String defaultValue

The returned value if the property is not defined.

Returns
Type Description
System.String