ODataUrlValidationContext.AddMessage(String, String, Severity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.