workflow on calling Unload RRS feed

  • Question

  • I get the following error when I try to unload the workflow after receiveing an exception.
    I catch the exception , call suspend & in the workflowSuspended event handler I call Unload().

    workflowRuntime.WorkflowSuspended +=
    delegate(object sender, WorkflowSuspendedEventArgs e)

    Type 'System.ServiceModel.ExceptionDetail' in Assembly 'System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

    Tuesday, March 24, 2009 6:33 PM


  • 2. Runtime is not able to serialize your workflow. Please check carefully if your workflow contains non-serializable types.

    Vitaliy Liptchinsky http://dotnetframeworkplanet.blogspot.com/
    • Marked as answer by Yi-Lun Luo Monday, March 30, 2009 11:18 AM
    Thursday, March 26, 2009 10:24 AM