C# Класс jQueryApi.jQueryXmlHttpRequest

Наследование: IDeferred
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Always jQueryXmlHttpRequest
Done jQueryXmlHttpRequest
Fail jQueryXmlHttpRequest
GetAwaiter TaskAwaiter
IDeferred IDeferred
IDeferred IDeferred
IDeferred IDeferred
IDeferred IDeferred
IDeferred IDeferred
IDeferred bool
IPromise void
IPromise void
IPromise void
jQueryXmlHttpRequest System

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

Метод Описание
Abort ( ) : void

Aborts the request.

Complete ( AjaxCompletedCallback callback ) : jQueryXmlHttpRequest

Adds a callback to handle completion of the request.

Error ( AjaxErrorCallback callback ) : jQueryXmlHttpRequest

Adds a callback to handle an error completing the request.

GetAllResponseHeaders ( ) : string

Gets the response headers associated with the request.

GetResponseHeader ( string name ) : string

Gets a specific response header associated with the request.

OverrideMimeType ( string type ) : void

Sets the mime type on the request.

Pipe ( jQueryDeferredFilter successFilter ) : jQueryXmlHttpRequest

Filters or chains the result of the request.

Pipe ( jQueryDeferredFilter successFilter, jQueryDeferredFilter failFilter ) : jQueryXmlHttpRequest

Filters or chains the result of the request.

SetRequestHeader ( string name, string value ) : void

Sets a request header value.

Success ( AjaxCallback callback ) : jQueryXmlHttpRequest

Adds a callback to handle a successful completion of the request.

Success ( AjaxRequestCallback callback ) : jQueryXmlHttpRequest

Adds a callback to handle a successful completion of the request.

Then ( System.Action doneCallback, System.Action failCallback ) : jQueryXmlHttpRequest

Add handlers to be called when the request is completed. If the request is already completed, the handlers are still invoked.

Then ( Callback doneCallback, Callback failCallback ) : jQueryXmlHttpRequest

Add handlers to be called when the request is completed. If the request is already completed, the handlers are still invoked.

Приватные методы

Метод Описание
Always ( ) : jQueryXmlHttpRequest
Done ( ) : jQueryXmlHttpRequest
Fail ( ) : jQueryXmlHttpRequest
GetAwaiter ( ) : TaskAwaiter
IDeferred ( ) : IDeferred
IDeferred ( System.Action doneCallback, System.Action failCallback ) : IDeferred
IDeferred ( Callback doneCallback, Callback failCallback ) : IDeferred
IDeferred ( jQueryDeferredFilter successFilter ) : IDeferred
IDeferred ( jQueryDeferredFilter successFilter, jQueryDeferredFilter failFilter ) : IDeferred
IDeferred ( ) : bool
IPromise ( Delegate fulfilledHandler ) : void
IPromise ( Delegate fulfilledHandler, Delegate errorHandler ) : void
IPromise ( Delegate fulfilledHandler, Delegate errorHandler, Delegate progressHandler ) : void
jQueryXmlHttpRequest ( ) : System

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

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

Aborts the request.
public Abort ( ) : void
Результат void

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

Adds a callback to handle completion of the request.
public Complete ( AjaxCompletedCallback callback ) : jQueryXmlHttpRequest
callback AjaxCompletedCallback The callback to invoke.
Результат jQueryXmlHttpRequest

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

Adds a callback to handle an error completing the request.
public Error ( AjaxErrorCallback callback ) : jQueryXmlHttpRequest
callback AjaxErrorCallback The callback to invoke.
Результат jQueryXmlHttpRequest

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

Gets the response headers associated with the request.
public GetAllResponseHeaders ( ) : string
Результат string

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

Gets a specific response header associated with the request.
public GetResponseHeader ( string name ) : string
name string The name of the response header.
Результат string

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

Sets the mime type on the request.
public OverrideMimeType ( string type ) : void
type string The mime type to use.
Результат void

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

Filters or chains the result of the request.
public Pipe ( jQueryDeferredFilter successFilter ) : jQueryXmlHttpRequest
successFilter jQueryDeferredFilter The filter to invoke when the request successfully completes.
Результат jQueryXmlHttpRequest

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

Filters or chains the result of the request.
public Pipe ( jQueryDeferredFilter successFilter, jQueryDeferredFilter failFilter ) : jQueryXmlHttpRequest
successFilter jQueryDeferredFilter The filter to invoke when the request successfully completes.
failFilter jQueryDeferredFilter The filter to invoke when the request fails.
Результат jQueryXmlHttpRequest

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

Sets a request header value.
public SetRequestHeader ( string name, string value ) : void
name string The name of the request header.
value string The value of the request header.
Результат void

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

Adds a callback to handle a successful completion of the request.
public Success ( AjaxCallback callback ) : jQueryXmlHttpRequest
callback AjaxCallback The callback to invoke.
Результат jQueryXmlHttpRequest

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

Adds a callback to handle a successful completion of the request.
public Success ( AjaxRequestCallback callback ) : jQueryXmlHttpRequest
callback AjaxRequestCallback The callback to invoke.
Результат jQueryXmlHttpRequest

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

Add handlers to be called when the request is completed. If the request is already completed, the handlers are still invoked.
public Then ( System.Action doneCallback, System.Action failCallback ) : jQueryXmlHttpRequest
doneCallback System.Action The callback to invoke when the request completes successfully.
failCallback System.Action The callback to invoke when the request completes with an error.
Результат jQueryXmlHttpRequest

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

Add handlers to be called when the request is completed. If the request is already completed, the handlers are still invoked.
public Then ( Callback doneCallback, Callback failCallback ) : jQueryXmlHttpRequest
doneCallback Callback The callback to invoke when the request completes successfully.
failCallback Callback The callback to invoke when the request completes with an error.
Результат jQueryXmlHttpRequest