ValidationContextExtensions.CreateWarning 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.
Helper method to simplify validation rules
public static void CreateWarning (this Microsoft.OpenApi.Validations.IValidationContext context, string ruleName, string message);
static member CreateWarning : Microsoft.OpenApi.Validations.IValidationContext * string * string -> unit
<Extension()>
Public Sub CreateWarning (context As IValidationContext, ruleName As String, message As String)
Parameters
- context
- IValidationContext
- ruleName
- String
- message
- String