C# Класс Nexus.Client.ModRepositories.Nexus.CookieMessageInspector

An Client Message Inspector that sets cookies for the service call.
Наследование: IClientMessageInspector
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AfterReceiveReply ( Message &reply, object correlationState ) : void

Processes the reply message.

This does nothing.

BeforeSendRequest ( Message &request, IClientChannel channel ) : object

Processes the request message.

This adds the specified cookies to the request.

CookieMessageInspector ( string>.Dictionary p_dicAuthenticationCookies ) : System

A simple constructor that initializes the object with the given values.

Описание методов

AfterReceiveReply() публичный Метод

Processes the reply message.
This does nothing.
public AfterReceiveReply ( Message &reply, object correlationState ) : void
reply Message The received reply to process.
correlationState object The correlation state.
Результат void

BeforeSendRequest() публичный Метод

Processes the request message.
This adds the specified cookies to the request.
public BeforeSendRequest ( Message &request, IClientChannel channel ) : object
request Message The request to process.
channel IClientChannel The client channel.
Результат object

CookieMessageInspector() публичный Метод

A simple constructor that initializes the object with the given values.
public CookieMessageInspector ( string>.Dictionary p_dicAuthenticationCookies ) : System
p_dicAuthenticationCookies string>.Dictionary The cookies to add to the request.
Результат System