C# Class System.Net.Mail.SmtpPermission

Inheritance: System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
AddPermission ( SmtpAccess access ) : void
Copy ( ) : IPermission
FromXml ( SecurityElement securityElement ) : void
Intersect ( IPermission target ) : IPermission
IsSubsetOf ( IPermission target ) : bool
IsUnrestricted ( ) : bool
SmtpPermission ( PermissionState state ) : System.Security
SmtpPermission ( SmtpAccess access ) : System.Security
SmtpPermission ( bool unrestricted ) : System.Security
ToXml ( ) : SecurityElement
Union ( IPermission target ) : IPermission

Method Details

AddPermission() public method

public AddPermission ( SmtpAccess access ) : void
access SmtpAccess
return void

Copy() public method

public Copy ( ) : IPermission
return IPermission

FromXml() public method

public FromXml ( SecurityElement securityElement ) : void
securityElement SecurityElement
return void

Intersect() public method

public Intersect ( IPermission target ) : IPermission
target IPermission
return IPermission

IsSubsetOf() public method

public IsSubsetOf ( IPermission target ) : bool
target IPermission
return bool

IsUnrestricted() public method

public IsUnrestricted ( ) : bool
return bool

SmtpPermission() public method

public SmtpPermission ( PermissionState state ) : System.Security
state PermissionState
return System.Security

SmtpPermission() public method

public SmtpPermission ( SmtpAccess access ) : System.Security
access SmtpAccess
return System.Security

SmtpPermission() public method

public SmtpPermission ( bool unrestricted ) : System.Security
unrestricted bool
return System.Security

ToXml() public method

public ToXml ( ) : SecurityElement
return SecurityElement

Union() public method

public Union ( IPermission target ) : IPermission
target IPermission
return IPermission