Partajați prin


OnAsynchronousUploadFailed Method

Raises the AsynchronousUploadFailed event.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Protected Overrides Sub OnAsynchronousUploadFailed ( _
    e As AsynchronousUploadFailedEventArgs _
)
'Usage
Dim e As AsynchronousUploadFailedEventArgs

Me.OnAsynchronousUploadFailed(e)
protected override void OnAsynchronousUploadFailed(
    AsynchronousUploadFailedEventArgs e
)
protected:
virtual void OnAsynchronousUploadFailed(
    AsynchronousUploadFailedEventArgs^ e
) override
protected override function OnAsynchronousUploadFailed(
    e : AsynchronousUploadFailedEventArgs
)

Parameters

Remarks

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

MarketingContext Class

MarketingContext Members

Microsoft.CommerceServer.Marketing Namespace