Méthode | Description | |
---|---|---|
DisconnectClient ( System.Guid clientID ) : void | ||
LogException ( |
Logs an exception to the service.
|
|
LogStatusMessage ( string message, UpdateType type = UpdateType.Information ) : void |
Logs a status message to connected clients.
|
|
LogWebHostStatusMessage ( string message, UpdateType type = UpdateType.Information ) : void | ||
SendRequest ( System.Guid clientID, string userInput ) : void |
Sends a command request to the service.
|
|
ServiceHost ( ) : System |
Creates a new ServiceHost instance.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the ServiceHost object and optionally releases the managed resources.
|
|
ServiceStartingHandler ( object sender, EventArgs |
Event handler for service starting operations.
|
|
ServiceStoppingHandler ( object sender, |
Méthode | Description | |
---|---|---|
LoggedExceptionHandler ( object sender, EventArgs |
||
UpdatedStatusHandler ( object sender, EventArgs |
||
WebServer_StatusMessage ( object sender, EventArgs |
||
m_logSubscriber_Log ( |
public DisconnectClient ( System.Guid clientID ) : void | ||
clientID | System.Guid | |
Résultat | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Résultat | void |
public LogException ( |
||
ex | Exception to log. | |
Résultat | void |
public LogStatusMessage ( string message, UpdateType type = UpdateType.Information ) : void | ||
message | string | Message to log. |
type | UpdateType | Type of message to log. |
Résultat | void |
public LogWebHostStatusMessage ( string message, UpdateType type = UpdateType.Information ) : void | ||
message | string | |
type | UpdateType | |
Résultat | void |
public SendRequest ( System.Guid clientID, string userInput ) : void | ||
clientID | System.Guid | Client ID of sender. |
userInput | string | Request string. |
Résultat | void |
protected ServiceStartingHandler ( object sender, EventArgs |
||
sender | object | Event source. |
e | EventArgs |
Event arguments containing command line arguments passed into service at startup. |
Résultat | void |
protected ServiceStoppingHandler ( object sender, |
||
sender | object | |
e | ||
Résultat | void |