Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
MessageQueueTarget ( ) : System.ComponentModel |
Initializes a new instance of the MessageQueueTarget class. The default value of the layout is: |
Метод | Описание | |
---|---|---|
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 | ||
Результат | 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. |
Результат | System.Messaging.Message |
protected Write ( LogEventInfo logEvent ) : void | ||
logEvent | LogEventInfo | The logging event. |
Результат | void |