RequiresAuthorizationAttribute(AuthorizationLevel) Constructor
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.
Initialize a new instance of the RequiresAuthorizationAttribute with a given level
.
public RequiresAuthorizationAttribute (Microsoft.WindowsAzure.Mobile.Service.Security.AuthorizationLevel level);
new Microsoft.WindowsAzure.Mobile.Service.Security.RequiresAuthorizationAttribute : Microsoft.WindowsAzure.Mobile.Service.Security.AuthorizationLevel -> Microsoft.WindowsAzure.Mobile.Service.Security.RequiresAuthorizationAttribute
Public Sub New (level As AuthorizationLevel)
Parameters
- level
- AuthorizationLevel
The minimum authorization level required to access the resource.
Remarks
This attribute is obsolete, please use System.Web.Http.AuthorizeLevelAttribute instead.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET