DistributionGroupIdParameter.GetErrorMessageForWrongType method
Returns a localized error message when an invalid identifier is used to identify a distribution group.
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 invalid identifier.
Return value
Type: Microsoft.Exchange.Data.Common.LocalizedString
A localized error message describing the reason that the identifier is invalid.
See also
Reference
DistributionGroupIdParameter class