LocalizedException Constructor (LocalizedString, Exception)
The LocalizedException constructor uses a localized error message to create a new LocalizedException object from an inner exception.
Namespace: Microsoft.Exchange.Data.Common
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)
Syntax
'Declaration
Public Sub New ( _
localizedString As LocalizedString, _
innerException As Exception _
)
public LocalizedException (
LocalizedString localizedString,
Exception innerException
)
public:
LocalizedException (
LocalizedString localizedString,
Exception^ innerException
)
public LocalizedException (
LocalizedString localizedString,
Exception innerException
)
public function LocalizedException (
localizedString : LocalizedString,
innerException : Exception
)
Parameters
- localizedString
The error message for this LocalizedException object.
- innerException
The exception that caused this LocalizedException to be thrown.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003