Share via


BlobTransferCompleteEventArgs Constructor

Initializes a new instance of the BlobTransferCompleteEventArgs class.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    error As Exception, _
    isCanceled As Boolean, _
    userState As Object, _
    localFileName As String, _
    url As Uri, _
    transferType As BlobTransferType _
)
'Usage
Dim error As Exception 
Dim isCanceled As Boolean 
Dim userState As Object 
Dim localFileName As String 
Dim url As Uri 
Dim transferType As BlobTransferType 

Dim instance As New BlobTransferCompleteEventArgs(error, isCanceled, _
    userState, localFileName, url, transferType)
public BlobTransferCompleteEventArgs(
    Exception error,
    bool isCanceled,
    Object userState,
    string localFileName,
    Uri url,
    BlobTransferType transferType
)
public:
BlobTransferCompleteEventArgs(
    Exception^ error, 
    bool isCanceled, 
    Object^ userState, 
    String^ localFileName, 
    Uri^ url, 
    BlobTransferType transferType
)
new : 
        error:Exception * 
        isCanceled:bool * 
        userState:Object * 
        localFileName:string * 
        url:Uri * 
        transferType:BlobTransferType -> BlobTransferCompleteEventArgs
public function BlobTransferCompleteEventArgs(
    error : Exception, 
    isCanceled : boolean, 
    userState : Object, 
    localFileName : String, 
    url : Uri, 
    transferType : BlobTransferType
)

Parameters

  • isCanceled
    Type: System.Boolean
    True if the operation was canceled; false otherwise.
  • userState
    Type: System.Object
    The user state provided for the operation.
  • url
    Type: System.Uri
    A Uri representing the location of the blob.

See Also

Reference

BlobTransferCompleteEventArgs Class

Microsoft.WindowsAzure.MediaServices.Client Namespace