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

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

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

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

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

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

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

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

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

            attributes.IgnoreExtensionDataObject = true;

            //</snippet3>
        }
Esempio n. 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>
        }