NotificationMessagesClient.DownloadMedia(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The DownloadMedia(String, CancellationToken) downloads the Media payload from a User to Business message asynchronously.
public virtual Azure.Response<System.IO.Stream> DownloadMedia (string mediaContentId, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadMedia : string * System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
override this.DownloadMedia : string * System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
Public Overridable Function DownloadMedia (mediaContentId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Stream)
Parameters
- mediaContentId
- String
The Media Identifier contained in the User to Business message event.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET