C# Класс Rock.Model.BinaryFileService

Data Access Service class for Rock.Model.BinaryFile objects.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BeginGet ( AsyncCallback callback, HttpContext context, System.Guid fileGuid ) : IAsyncResult

Initiates an asynchronous get of the binary file specified by fileGuid

BeginGet ( AsyncCallback callback, HttpContext context, int fileId ) : IAsyncResult

Initiates an asynchronous get of the binary file specified by fileId

EndGet ( IAsyncResult asyncResult, HttpContext context ) : BinaryFile

Ends the get.

EndGet ( IAsyncResult asyncResult, HttpContext context, bool &requiresViewSecurity ) : BinaryFile

Ends the get.

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

Метод Описание
BeginGet ( AsyncCallback callback, HttpContext context, System.Guid fileGuid, int fileId ) : IAsyncResult

Initiates an asynchronous get of the binary file specified by fileId or fileGuid Intended to be used by an IHttpAsyncHandler

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

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

Initiates an asynchronous get of the binary file specified by fileGuid
public BeginGet ( AsyncCallback callback, HttpContext context, System.Guid fileGuid ) : IAsyncResult
callback AsyncCallback The callback.
context System.Web.HttpContext The context.
fileGuid System.Guid The file unique identifier.
Результат IAsyncResult

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

Initiates an asynchronous get of the binary file specified by fileId
public BeginGet ( AsyncCallback callback, HttpContext context, int fileId ) : IAsyncResult
callback AsyncCallback The callback.
context System.Web.HttpContext The context.
fileId int The file identifier.
Результат IAsyncResult

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

Ends the get.
public EndGet ( IAsyncResult asyncResult, HttpContext context ) : BinaryFile
asyncResult IAsyncResult The asynchronous result.
context System.Web.HttpContext The context.
Результат BinaryFile

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

Ends the get.
public EndGet ( IAsyncResult asyncResult, HttpContext context, bool &requiresViewSecurity ) : BinaryFile
asyncResult IAsyncResult The asynchronous result.
context System.Web.HttpContext The context.
requiresViewSecurity bool if set to true [requires security].
Результат BinaryFile