OnAsynchronousUploadFailed Method
Raises the OnAsynchronousUploadFailed event.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Protected Overridable Sub OnAsynchronousUploadFailed ( _
e As AsynchronousUploadFailedEventArgs _
)
'Usage
Dim e As AsynchronousUploadFailedEventArgs
Me.OnAsynchronousUploadFailed(e)
protected virtual void OnAsynchronousUploadFailed(
AsynchronousUploadFailedEventArgs e
)
protected:
virtual void OnAsynchronousUploadFailed(
AsynchronousUploadFailedEventArgs^ e
)
protected function OnAsynchronousUploadFailed(
e : AsynchronousUploadFailedEventArgs
)
Parameters
- e
Type: Microsoft.CommerceServer.Marketing..::.AsynchronousUploadFailedEventArgs
An AsynchronousUploadFailedEventArgs that contains the event data.
Remarks
The method called when an exception occurs during an asynchronous file upload for an import operation.
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The OnAsynchronousUploadFailed method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Notes to Inheritors:
When overriding OnAsynchronousUploadFailed in a derived class, be sure to call the base class’s OnAsynchronousUploadFailed method so that registered delegates receive the event.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.