PromoCodeDefinitionManager.ProgressEventHandler Delegate
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Represents the method that will handle the Progress event of a ExportPromoCodesForDefinition operation.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Delegate Sub ProgressEventHandler ( _
sender As Object, _
e As ProgressEventArgs _
)
'Usage
Dim instance As New ProgressEventHandler(AddressOf HandlerMethod)
public delegate void ProgressEventHandler(
Object sender,
ProgressEventArgs e
)
public delegate void ProgressEventHandler(
Object^ sender,
ProgressEventArgs^ e
)
JScript does not support delegates.
Parameters
- sender
Type: System..::.Object
The source of the event.
- e
Type: Microsoft.CommerceServer.Marketing..::.ProgressEventArgs
A ProgressEventArgs that contains the event data.
Remarks
When you create a PromoCodeDefinitionManager..::.ProgressEventHandler delegate, you identify the method that will handle the event. The ExportPromoCodesForDefinition or ExportPromoCodesForDefinition. method will automatically associate the instance of the delegate that you provide with the DownloadProgress event. The event handler is called periodically, as download of the file progresses.