Export (0) Print
Expand All

ExternalDataEventArgs Constructor

Initializes a new instance of the ExternalDataEventArgs class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ExternalDataEventArgs() Initializes a new instance of the ExternalDataEventArgs class.
Public method ExternalDataEventArgs(Guid) Initializes a new instance of the ExternalDataEventArgs class using the instance identifier of the workflow.
Public method ExternalDataEventArgs(Guid, IPendingWork, Object) Initializes a new instance of the ExternalDataEventArgs class.
Public method ExternalDataEventArgs(Guid, IPendingWork, Object, Boolean) Initializes a new instance of the ExternalDataEventArgs class.
Top

The following example shows how to call the base ExternalDataEventArgs constructor from a derived class' constructor. This example is from the Ordering State Machine SDK sample. For more information, see Ordering State Machine Sample.

public override void Dispose()
{
    try
    {
        IDesignerLoaderHost host = LoaderHost;
        if (host != null)
        {
            host.RemoveService(typeof(IIdentifierCreationService));
            host.RemoveService(typeof(IMenuCommandService));
            host.RemoveService(typeof(IToolboxService));
            host.RemoveService(typeof(ITypeProvider), true);
            host.RemoveService(typeof(IWorkflowCompilerOptionsService));
            host.RemoveService(typeof(IEventBindingService));
        }
    }
    finally
    {
        base.Dispose();
    }
}
Show:
© 2014 Microsoft