SmtpPermission 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.

Initializes a new instance of the SmtpPermission class.

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

NameDescription
System_CAPS_pubmethodSmtpPermission(Boolean)

Initializes a new instance of the SmtpPermission class with the specified state.

System_CAPS_pubmethodSmtpPermission(PermissionState)

Initializes a new instance of the SmtpPermission class using the specified permission state value.

System_CAPS_pubmethodSmtpPermission(SmtpAccess)

Initializes a new instance of the SmtpPermission class using the specified access level.

Return to top
Show: