C# Class SharpRaven.Data.SentryEvent

Represents an event being captured by IRavenClient.Capture(SentryEvent).
显示文件 Open project: getsentry/raven-csharp Class Usage Examples

Public Methods

Method Description
SentryEvent ( Exception exception ) : System

Initializes a new instance of the SentryEvent class.

SentryEvent ( SentryMessage message ) : System

Initializes a new instance of the SentryEvent class.

Private Methods

Method Description
SentryEvent ( ) : System

Prevents a default instance of the SentryEvent class from being created.

Method Details

SentryEvent() public method

Initializes a new instance of the SentryEvent class.
public SentryEvent ( Exception exception ) : System
exception System.Exception The to capture.
return System

SentryEvent() public method

Initializes a new instance of the SentryEvent class.
public SentryEvent ( SentryMessage message ) : System
message SentryMessage The message to capture.
return System