NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

WebPermission Constructor (PermissionState)

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

[Visual Basic]
Overloads Public Sub New( _
   ByVal State As PermissionState _
)
[C#]
public WebPermission(
   PermissionState State
);
[C++]
public: WebPermission(
   PermissionState State
);
[JScript]
public function WebPermission(
   State : PermissionState
);

Parameters

State
One of the System.Net.PermissionState values.

Remarks

If State is Unrestricted than the WebPermission instance will pass all demands. Any other value for State will result in a WebPermission instance that will fail all demands.

See Also

WebPermission Class | WebPermission Members | System.Net Namespace | WebPermission Constructor Overload List