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 _
)
'Usage
Dim localizedString As LocalizedString
Dim innerException As Exception
Dim instance As New LocalizedException(localizedString, _
innerException)
public LocalizedException(
LocalizedString localizedString,
Exception innerException
)
Parameters
localizedString
Type: Microsoft.Exchange.Data.Common.LocalizedStringThe error message for this LocalizedException object.
innerException
Type: System.ExceptionThe exception that caused this LocalizedException to be thrown.