LoggingPropertiesExpressionModel Methods |
The LoggingPropertiesExpressionModel type exposes the following members.
Name | Description | |
---|---|---|
Contains |
Returns true if a logging property with the given name exists.
| |
GetInt32 |
Gets the value of a logging property as an Int32, or defaultValue if the property does not exist. Throws an exception if the property
exists but can't be converted to Int32 using ToInt32(Object).
| |
GetInt64 |
Gets the value of a logging property as an Int64, or defaultValue if the property does not exist. Throws an exception if the property
exists but can't be converted to Int64 using ToInt64(Object).
| |
GetString |
Gets the value of a logging property as a string, or defaultValue if the property does not exist.
|