C# Класс Microsoft.Azure.Networking.Infrastructure.RingMaster.Backend.BackendRequestWithContext

Implements the ability to associate a context with a request.
Наследование: BackendRequest
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DataEquals ( IRingMasterBackendRequest obj ) : bool
Equals ( object obj ) : bool

Determines whether the specified object is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

Защищенные методы

Метод Описание
BackendRequestWithContext ( request, object context ) : System

Initializes a new instance of the BackendRequestWithContext{TRequest, TReturn} class.

InvokeCallback ( int resultCode, object result, IStat stat, string responsePath ) : void
MakeUid ( ulong uid ) : ulong

Assigns a unique uid if the given uid is zero.

NotifyComplete ( int resultCode, result, IStat stat, string responsePath ) : void

Notifies that the request has been completed.

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

BackendRequestWithContext() защищенный Метод

Initializes a new instance of the BackendRequestWithContext{TRequest, TReturn} class.
protected BackendRequestWithContext ( request, object context ) : System
request The request
context object The context associated with the request
Результат System

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

public DataEquals ( IRingMasterBackendRequest obj ) : bool
obj IRingMasterBackendRequest
Результат bool

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

Determines whether the specified object is equal to this instance.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
Результат bool

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

Returns a hash code for this instance.
public GetHashCode ( ) : int
Результат int

InvokeCallback() защищенный закрытый Метод

protected final InvokeCallback ( int resultCode, object result, IStat stat, string responsePath ) : void
resultCode int
result object
stat IStat
responsePath string
Результат void

MakeUid() защищенный статический Метод

Assigns a unique uid if the given uid is zero.
protected static MakeUid ( ulong uid ) : ulong
uid ulong The uid to assign (or zero)
Результат ulong

NotifyComplete() защищенный абстрактный Метод

Notifies that the request has been completed.
protected abstract NotifyComplete ( int resultCode, result, IStat stat, string responsePath ) : void
resultCode int result code
result The result
stat IStat The stat
responsePath string The response path
Результат void