DoBeginExportPromoCodesForDefinition Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Protected Function DoBeginExportPromoCodesForDefinition ( _
filePath As String, _
promoCodeDefinition As PromoCodeDefinition, _
batchId As Guid, _
eventHandler As PromoCodeDefinitionManager..::.ProgressEventHandler, _
callback As AsyncCallback, _
asyncState As Object _
) As IAsyncResult
'Usage
Dim filePath As String
Dim promoCodeDefinition As PromoCodeDefinition
Dim batchId As Guid
Dim eventHandler As PromoCodeDefinitionManager..::.ProgressEventHandler
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult
returnValue = Me.DoBeginExportPromoCodesForDefinition(filePath, _
promoCodeDefinition, batchId, eventHandler, _
callback, asyncState)
protected IAsyncResult DoBeginExportPromoCodesForDefinition(
string filePath,
PromoCodeDefinition promoCodeDefinition,
Guid batchId,
PromoCodeDefinitionManager..::.ProgressEventHandler eventHandler,
AsyncCallback callback,
Object asyncState
)
protected:
IAsyncResult^ DoBeginExportPromoCodesForDefinition(
String^ filePath,
PromoCodeDefinition^ promoCodeDefinition,
Guid batchId,
PromoCodeDefinitionManager..::.ProgressEventHandler^ eventHandler,
AsyncCallback^ callback,
Object^ asyncState
)
protected function DoBeginExportPromoCodesForDefinition(
filePath : String,
promoCodeDefinition : PromoCodeDefinition,
batchId : Guid,
eventHandler : PromoCodeDefinitionManager..::.ProgressEventHandler,
callback : AsyncCallback,
asyncState : Object
) : IAsyncResult
Parameters
- filePath
Type: System..::.String
Reserved for internal use only.
- promoCodeDefinition
Type: Microsoft.CommerceServer.Marketing..::.PromoCodeDefinition
Reserved for internal use only.
- batchId
Type: System..::.Guid
Reserved for internal use only.
- eventHandler
Type: Microsoft.CommerceServer.Marketing..::.PromoCodeDefinitionManager..::.ProgressEventHandler
Reserved for internal use only.
- callback
Type: System..::.AsyncCallback
Reserved for internal use only.
- asyncState
Type: System..::.Object
Reserved for internal use only.
Return Value
Type: System..::.IAsyncResult
Reserved for internal use only.
Remarks
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
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.