UserIdParameter.GetErrorMessageForWrongType method
Gets the error message that is returned when a specified object does not represent a user.
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.StringThe parameter name that was not correct.
Return value
Type: Microsoft.Exchange.Data.Common.LocalizedString
An error message that identifies the user.