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!

SocketPermission Constructor

Creates a new instance of the SocketPermission class.

Overload List

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

[Visual Basic] Overloads Public Sub New(PermissionState)
[C#] public SocketPermission(PermissionState);
[C++] public: SocketPermission(PermissionState);
[JScript] public function SocketPermission(PermissionState);

Creates a new instance of the SocketPermissions class for the given transport address with the specified permission.

[Visual Basic] Overloads Public Sub New(NetworkAccess, TransportType, String, Integer)
[C#] public SocketPermission(NetworkAccess, TransportType, String, int);
[C++] public: SocketPermission(NetworkAccess, TransportType, String, int);
[JScript] public function SocketPermission(NetworkAccess, TransportType, String, int);

See Also

SocketPermission Class | SocketPermission Members | System.Net Namespace