C# Класс IronPigeon.Providers.RelayCloudBlobStorageProvider

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

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

Метод Описание
CreateInboxAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task

Creates an inbox at a message relay service.

RelayCloudBlobStorageProvider ( ) : System

Initializes a new instance of the RelayCloudBlobStorageProvider class.

RelayCloudBlobStorageProvider ( HttpClient httpClient ) : System

Initializes a new instance of the RelayCloudBlobStorageProvider class.

RelayCloudBlobStorageProvider ( Uri postUrl ) : System

Initializes a new instance of the RelayCloudBlobStorageProvider class.

UploadMessageAsync ( Stream content, System.DateTime expirationUtc, string contentType = null, string contentEncoding = null, IProgress bytesCopiedProgress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task

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

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

Creates an inbox at a message relay service.
public CreateInboxAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken The cancellation token.
Результат Task

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

Initializes a new instance of the RelayCloudBlobStorageProvider class.
public RelayCloudBlobStorageProvider ( ) : System
Результат System

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

Initializes a new instance of the RelayCloudBlobStorageProvider class.
public RelayCloudBlobStorageProvider ( HttpClient httpClient ) : System
httpClient System.Net.Http.HttpClient The HTTP client.
Результат System

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

Initializes a new instance of the RelayCloudBlobStorageProvider class.
public RelayCloudBlobStorageProvider ( Uri postUrl ) : System
postUrl System.Uri The URL to post blobs to.
Результат System

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

public UploadMessageAsync ( Stream content, System.DateTime expirationUtc, string contentType = null, string contentEncoding = null, IProgress bytesCopiedProgress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
content Stream
expirationUtc System.DateTime
contentType string
contentEncoding string
bytesCopiedProgress IProgress
cancellationToken System.Threading.CancellationToken
Результат Task