Partager via


MailboxIdParameter.GetErrorMessageForWrongType method

Returns the location-specific error message for an invalid input parameter.

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

Syntax

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

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

Parameters

  • id
    Type: System.String

    The identifier of the error message to return.

Return value

Type: Microsoft.Exchange.Data.Common.LocalizedString
A location-specific error message.

See also

Reference

MailboxIdParameter class

MailboxIdParameter members

Microsoft.Exchange.Configuration.Tasks namespace