| ServiceLocatorImplBaseFormatActivateAllExceptionMessage Method |
Format the exception message for use in an
ActivationException
that occurs while resolving multiple service instances.
Namespace: Microsoft.Practices.ServiceLocationAssembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax protected virtual string FormatActivateAllExceptionMessage(
Exception actualException,
Type serviceType
)
Protected Overridable Function FormatActivateAllExceptionMessage (
actualException As Exception,
serviceType As Type
) As String
protected:
virtual String^ FormatActivateAllExceptionMessage(
Exception^ actualException,
Type^ serviceType
)
abstract FormatActivateAllExceptionMessage :
actualException : Exception *
serviceType : Type -> string
override FormatActivateAllExceptionMessage :
actualException : Exception *
serviceType : Type -> string
Parameters
- actualException
- Type: SystemException
The actual exception thrown by the implementation. - serviceType
- Type: SystemType
Type of service requested.
Return Value
Type:
StringThe formatted exception message string.
See Also