IExceptionConfigurationWithMessage.UsingResourceMessage Method
Use the message in the specified resource file and name.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
IExceptionConfigurationForExceptionTypeOrPostHandling UsingResourceMessage(
Type resourceType,
string resourceName
)
'Declaration
Function UsingResourceMessage (
resourceType As Type,
resourceName As String
) As IExceptionConfigurationForExceptionTypeOrPostHandling
IExceptionConfigurationForExceptionTypeOrPostHandling^ UsingResourceMessage(
Type^ resourceType,
String^ resourceName
)
Parameters
- resourceType
Type: System.Type
The type from the assembly with the resource to use for a message
- resourceName
Type: System.String
The name of the resource.
Return Value
Type: IExceptionConfigurationForExceptionTypeOrPostHandling
See Also
IExceptionConfigurationWithMessage Interface
IExceptionConfigurationWithMessage Members
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace