ODataController.Unauthorized 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.
Overloads
Unauthorized(ODataError) | |
Unauthorized(String) |
Unauthorized(ODataError)
protected virtual Microsoft.AspNet.OData.Results.UnauthorizedODataResult Unauthorized (Microsoft.OData.ODataError odataError);
override this.Unauthorized : Microsoft.OData.ODataError -> Microsoft.AspNet.OData.Results.UnauthorizedODataResult
Protected Overridable Function Unauthorized (odataError As ODataError) As UnauthorizedODataResult
Parameters
- odataError
- ODataError
Returns
Applies to
Unauthorized(String)
protected virtual Microsoft.AspNet.OData.Results.UnauthorizedODataResult Unauthorized (string message);
override this.Unauthorized : string -> Microsoft.AspNet.OData.Results.UnauthorizedODataResult
Protected Overridable Function Unauthorized (message As String) As UnauthorizedODataResult
Parameters
- message
- String