Share via


ODataUrlValidationContext.AddMessage(String, String, Severity) Method

Definition

Add an ODataUrlValidationMessage to the collection of validation messages.

public void AddMessage (string code, string message, Microsoft.OData.UriParser.Validation.Severity severity);
member this.AddMessage : string * string * Microsoft.OData.UriParser.Validation.Severity -> unit
Public Sub AddMessage (code As String, message As String, severity As Severity)

Parameters

code
String

The message code of the message.

message
String

The human readable message.

severity
Severity

The severity of the message.

Applies to