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
- e
Type: Microsoft.CommerceServer.Marketing..::.AsynchronousUploadFailedEventArgs
An AsynchronousUploadFailedEventArgs that contains the event data.
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
- 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.