Uređivanje

Dijeli putem


WebHeartbeatEvent(String, Int32) Constructor

Definition

Initializes a new instance of the WebHeartbeatEvent class with the given message and event code.

protected public:
 WebHeartbeatEvent(System::String ^ message, int eventCode);
protected internal WebHeartbeatEvent (string message, int eventCode);
new System.Web.Management.WebHeartbeatEvent : string * int -> System.Web.Management.WebHeartbeatEvent
Protected Friend Sub New (message As String, eventCode As Integer)

Parameters

message
String

The description of the event.

eventCode
Int32

The code associated with the event. When you implement a custom event, the event code must be greater than WebExtendedBase.

Applies to