Partager via


RecipientIdParameter.GetErrorMessageForWrongType method

Returns the specified error message.

Namespace:  Microsoft.Exchange.Configuration.Tasks
Assembly:  Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)

Syntax

'Declaration
Protected Overridable Function GetErrorMessageForWrongType ( _
    id As String _
) As LocalizedString
'Usage
Dim id As String
Dim returnValue As LocalizedString

returnValue = Me.GetErrorMessageForWrongType(id)
protected virtual LocalizedString GetErrorMessageForWrongType(
    string id
)

Parameters

Return value

Type: Microsoft.Exchange.Data.Common.LocalizedString
A localized error message.

See also

Reference

RecipientIdParameter class

RecipientIdParameter members

Microsoft.Exchange.Configuration.Tasks namespace