MailBee.NET Objects 4.0

IMailBeeWin32Exception Interface

When implemented by an exception class, indicates that this exception is thrown when underlying Win32 function returns an error.

For a list of all members of this type, see IMailBeeWin32Exception Members.

public interface IMailBeeWin32Exception

Types that implement IMailBeeWin32Exception

Type Description
MailBeeLoginWin32Exception The exception that is thrown when underlying Win32 Schannel implementation of Windows Integrated authentication returns an error.
MailBeeCertificateStoreWin32Exception The exception which is thrown when the underlying WinAPI function related to certificate store management returns an error.
MailBeeCertificateWin32Exception The exception which is thrown when the underlying WinAPI function related to certificate management returns an error.
MailBeeCryptoProviderWin32Exception The exception which is thrown when the underlying CSP-related WinAPI function returns an error.
MailBeeImpersonationWin32Exception The exception which is thrown when the underlying WinAPI function related to impersonation returns an error.
MailBeeSmimeWin32Exception The exception which is thrown when the underlying S/MIME WinAPI function responsible for decrypting, encrypting or signing data returns an error.
MailBeeSslWin32Exception The exception that is thrown when underlying Win32 Schannel implementation of TLS/SSL functions returns an error.

Remarks

Exceptions which implement IMailBeeWin32Exception can only be thrown by those methods of MailBee.NET assembly which make calls to unmanaged code. Although the assembly itself does not contain any unmanaged code, it still needs to call some Win32 functions related to security: TLS/SSL functionality, certificates, and Windows Integrated version of NTLM authentication.

The developer can obtain Win32 error code from NativeErrorCode property.

Requirements

Namespace: MailBee

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

IMailBeeWin32Exception Members | MailBee Namespace