次の方法で共有


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

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

See Also

Reference

MarketingServices Class

MarketingServices Members

Microsoft.CommerceServer.Marketing Namespace