Property | Type | Description |
---|
Method | Description | |
---|---|---|
MessageQueueTarget ( ) : System.ComponentModel |
Initializes a new instance of the MessageQueueTarget class. The default value of the layout is: |
Method | Description | |
---|---|---|
PrepareMessage ( LogEventInfo logEvent ) : System.Messaging.Message |
Prepares a message to be sent to the message queue. You may override this method in inheriting classes to provide services like encryption or message authentication. |
|
Write ( LogEventInfo logEvent ) : void |
Writes the specified logging event to a queue specified in the Queue parameter.
|
public MessageQueueTarget ( ) : System.ComponentModel | ||
return | System.ComponentModel |
protected PrepareMessage ( LogEventInfo logEvent ) : System.Messaging.Message | ||
logEvent | LogEventInfo | The log event to be used when calculating label and text to be written. |
return | System.Messaging.Message |
protected Write ( LogEventInfo logEvent ) : void | ||
logEvent | LogEventInfo | The logging event. |
return | void |