Dev2.DynamicServices.FileSystemInstanceStore.ProcessCreateWorkflowOwner C# (CSharp) Method

ProcessCreateWorkflowOwner() private method

private ProcessCreateWorkflowOwner ( System.Runtime.DurableInstancing.InstancePersistenceContext context, System.Activities.DurableInstancing.CreateWorkflowOwnerCommand command ) : Exception
context System.Runtime.DurableInstancing.InstancePersistenceContext
command System.Activities.DurableInstancing.CreateWorkflowOwnerCommand
return System.Exception
        private Exception ProcessCreateWorkflowOwner(
            InstancePersistenceContext context,
            // ReSharper disable UnusedParameter.Local
            CreateWorkflowOwnerCommand command)
        // ReSharper restore UnusedParameter.Local
        {

            try
            {
                context.BindInstanceOwner(_ownerId, _lockToken);
                return null;
            }
            catch(InstancePersistenceException exception)
            {
                Console.WriteLine(
                    // ReSharper disable LocalizableElement
                    "ProcessCreateWorkflowOwner exception: {0}",
                    // ReSharper restore LocalizableElement
                    exception.Message);
                return exception;
            }

        }