C# Класс CrashReporterDotNET.ReportCrash

Set SMTP server details and receiver email fields of this class instance to send crash reports directly in your inbox.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
EnableSSL System.Boolean
Exception System.Exception
FromEmail String
Password String
Port int
SmtpHost String
TextIntro string
ToEmail String
UserName String

Открытые методы

Метод Описание
Send ( ) : void

Sends exception report directly to receiver email address provided in ToEmail.

Send ( Exception exception ) : void

Sends exception report directly to receiver email address provided in ToEmail.

Приватные методы

Метод Описание
ShowUI ( object crashReportDialog ) : void

Описание методов

Send() публичный Метод

Sends exception report directly to receiver email address provided in ToEmail.
public Send ( ) : void
Результат void

Send() публичный Метод

Sends exception report directly to receiver email address provided in ToEmail.
public Send ( Exception exception ) : void
exception System.Exception Exception object that contains details of the exception.
Результат void

Описание свойств

EnableSSL публичное свойство

Specify whether the SMTP client uses the Secure Socket Layer (SSL) to encrypt the connection.
public Boolean,System EnableSSL
Результат System.Boolean

Exception публичное свойство

Gets or Sets exception that occur during application execution.
public Exception,System Exception
Результат System.Exception

FromEmail публичное свойство

Gets or Sets email address used by crash reporter if user don't provide her email address.
public String FromEmail
Результат String

Password публичное свойство

Gets or Sets the password used for SMTP transactions.
public String Password
Результат String

Port публичное свойство

Gets or Sets the port used for SMTP transactions.
public int Port
Результат int

SmtpHost публичное свойство

Gets or Sets name or IP address of the Host used for SMTP transactions.
public String SmtpHost
Результат String

TextIntro публичное свойство

Text for a few key parts of the UI (for localization).
public string TextIntro
Результат string

ToEmail публичное свойство

Gets or Sets email address where you want to receive crash reports.
public String ToEmail
Результат String

UserName публичное свойство

Gets or Sets the username used for SMTP transactions.
public String UserName
Результат String