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!

PermissionSet.Assert

Asserts all permissions of the set.

[Visual Basic]
Overridable Public Sub Assert()
[C#]
public virtual void Assert();
[C++]
public: virtual void Assert();
[JScript]
public function Assert();

Remarks

This is the only way to assert multiple permissions at the same time within a frame, since sequential asserts of individual permissions replaces previous asserts. The System.Security.Assert is only effective for granted permissions.

See Also

PermissionSet Class | PermissionSet Members | System.Security Namespace