Метод | Описание | |
---|---|---|
IsValidRequestString ( |
Validates a string that contains HTTP request data.
|
protected IsValidRequestString ( |
||
context | The context of the current request. | |
value | string | The HTTP request data to validate. |
requestValidationSource | RequestValidationSource | An enumeration that represents the source of request data that is being validated. The following are possible values for the enumeration:QueryStringForm CookiesFilesRawUrlPathPathInfoHeaders |
collectionKey | string | The key in the request collection of the item to validate. This parameter is optional. This parameter is used if the data to validate is obtained from a collection. If the data to validate is not from a collection, |
validationFailureIndex | int | When this method returns, indicates the zero-based starting point of the problematic or invalid text in the request collection. This parameter is passed uninitialized. |
Результат | bool |