Example #1
0
 void Container0()
 {
     //WorkflowServiceAttributes.WorkflowServiceAttributes
     //<snippet0>
     WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
     //</snippet0>
 }
Example #2
0
 void Container5()
 {
     //ReceiveActivity.GetWorkflowServiceAttributes
     Activity rootActivity = new Activity();
     //<snippet5>
     WorkflowServiceAttributes serviceAttributes = (WorkflowServiceAttributes)ReceiveActivity.GetWorkflowServiceAttributes(rootActivity);
     //</snippet5>
 }
Example #3
0
        void Container9()
        {
            //WorkflowServiceAttributes.ValidateMustUnderstand
            //<snippet9>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.ValidateMustUnderstand = false;
            //</snippet9>
        }
Example #4
0
        void Container8()
        {
            //WorkflowServiceAttributes.UseSynchronizationContext
            //<snippet8>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.UseSynchronizationContext = false;
            //</snippet8>
        }
Example #5
0
        void Container6()
        {
            //WorkflowServiceAttributes.Name
            //<snippet6>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.Name = "CalculatorService";
            //</snippet6>
        }
Example #6
0
        void Container7()
        {
            //WorkflowServiceAttributes.Namespace
            //<snippet7>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.Namespace = "Microsoft.Samples.WorkflowServices.SampleCode";
            //</snippet7>
        }
Example #7
0
        void Container5()
        {
            //WorkflowServiceAttributes.MaxItemsInObjectGraph
            //<snippet5>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.MaxItemsInObjectGraph = 10;
            //</snippet5>
        }
Example #8
0
        void Container4()
        {
            //WorkflowServiceAttributes.IncludeExceptionDetailInFaults
            //<snippet4>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.IncludeExceptionDetailInFaults = true;
            //</snippet4>
        }
Example #9
0
        void Container2()
        {
            //WorkflowServiceAttributes.ConfigurationName
            //<snippet2>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.ConfigurationName = "CalculatorService";
            //</snippet2>
        }
Example #10
0
        void Container1()
        {
            //WorkflowServiceAttributes.AddressFilterMode
            //<snippet1>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.AddressFilterMode = AddressFilterMode.Exact;
            //</snippet1>
        }
Example #11
0
        void Container3()
        {
            //WorkflowServiceAttributes.IgnoreExtensionDataObject
            //<snippet3>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.IgnoreExtensionDataObject = true;

            //</snippet3>
        }
Example #12
0
        void Container6()
        {
            //ReceiveActivity.SetWorkflowServiceAttributes
            ReceiveActivity receiveActivity1 = new ReceiveActivity();
            //<snippet6>
            WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();

            attributes.ConfigurationName = "ServiceConfig";
            attributes.IncludeExceptionDetailInFaults = true;
            attributes.AddressFilterMode = AddressFilterMode.Exact;

            ReceiveActivity.SetWorkflowServiceAttributes(receiveActivity1, attributes);
            //</snippet6>
        }