Click or drag to resize
DigitalRuneServiceLocatorImplBaseFormatActivationExceptionMessage Method
Format the exception message for use in an ActivationException that occurs while resolving a single service.

Namespace: Microsoft.Practices.ServiceLocation
Assembly: Microsoft.Practices.ServiceLocation (in Microsoft.Practices.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
protected virtual string FormatActivationExceptionMessage(
	Exception actualException,
	Type serviceType,
	string key
)

Parameters

actualException
Type: SystemException
The actual exception thrown by the implementation.
serviceType
Type: SystemType
Type of service requested.
key
Type: SystemString
Name requested.

Return Value

Type: String
The formatted exception message string.
See Also