WebPermission Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new instance of the WebPermission class.

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodWebPermission()

Creates a new instance of the WebPermission class.

System_CAPS_pubmethodWebPermission(NetworkAccess, Regex)

Initializes a new instance of the WebPermission class with the specified access rights for the specified URI regular expression.

System_CAPS_pubmethodWebPermission(NetworkAccess, String)

Initializes a new instance of the WebPermission class with the specified access rights for the specified URI.

System_CAPS_pubmethodWebPermission(PermissionState)

Creates a new instance of the WebPermission class that passes all demands or fails all demands.

Return to top
Show: