Initializes the DistributedUnitOfWork and configures the WCF bindings from application configuration.

Namespace:  Mindscape.LightSpeed.ServiceModel
Assembly:  Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public DistributedUnitOfWork(
	LightSpeedContext context,
	string endpointName
)
Visual Basic (Declaration)
Public Sub New ( _
	context As LightSpeedContext, _
	endpointName As String _
)

Parameters

context
Type: Mindscape.LightSpeed..::.LightSpeedContext
The LightSpeedContext to be used when creating the DistributedUnitOfWork.
endpointName
Type: System..::.String
The name of the WCF endpoint which points to the DistributedUnitOfWork service endpoint.

See Also