C# Class NLog.Targets.WebServiceTarget

Inheritance: NLog.Targets.MethodCallTargetBase
Afficher le fichier Open project: NLog/NLog Class Usage Examples

Private Properties

Свойство Type Description
BuildWebServiceUrl System.Uri
DoInvoke void
PrepareGetRequest void
WriteStreamAndFixPreamble void

Méthodes publiques

Méthode Description
WebServiceTarget ( ) : System

Initializes a new instance of the WebServiceTarget class.

WebServiceTarget ( string name ) : System

Initializes a new instance of the WebServiceTarget class.

Méthodes protégées

Méthode Description
DoInvoke ( object parameters ) : void

Calls the target method. Must be implemented in concrete classes.

DoInvoke ( object parameters, AsyncContinuation continuation ) : void

Invokes the web service method.

Private Methods

Méthode Description
BuildWebServiceUrl ( object parameterValues ) : Uri

Builds the URL to use when calling the web service for a message, depending on the WebServiceProtocol.

DoInvoke ( object parameters, AsyncContinuation continuation, HttpWebRequest request, IAsyncResult>.Func beginFunc, Stream>.Func getStreamFunc ) : void
PrepareGetRequest ( HttpWebRequest request ) : void
WriteStreamAndFixPreamble ( Stream input, Stream output, bool writeUtf8BOM, Encoding encoding ) : void

Write from input to output. Fix the UTF-8 bom

Method Details

DoInvoke() protected méthode

Calls the target method. Must be implemented in concrete classes.
protected DoInvoke ( object parameters ) : void
parameters object Method call parameters.
Résultat void

DoInvoke() protected méthode

Invokes the web service method.
protected DoInvoke ( object parameters, AsyncContinuation continuation ) : void
parameters object Parameters to be passed.
continuation AsyncContinuation The continuation.
Résultat void

WebServiceTarget() public méthode

Initializes a new instance of the WebServiceTarget class.
public WebServiceTarget ( ) : System
Résultat System

WebServiceTarget() public méthode

Initializes a new instance of the WebServiceTarget class.
public WebServiceTarget ( string name ) : System
name string Name of the target
Résultat System