Exemplo n.º 1
0
        //14 was a discontinued method

        void Container15()
        {
            //ReceiveActivity.GetContext(Activity, String, String)
            //<snippet15>
            ReceiveActivity receiveActivity1 = new ReceiveActivity();
            Dictionary <XmlQualifiedName, String> context =
                (Dictionary <XmlQualifiedName, String>)ReceiveActivity.GetContext(
                    receiveActivity1,
                    "ContextToken1",
                    "ReceiveActivity1");
            //</snippet15>
        }
Exemplo n.º 2
0
 void Container13()
 {
     //ReceiveActivity.GetContext(Activity, ContextToken)
     //<snippet13>
     ReceiveActivity receiveActivity1 = new ReceiveActivity();
     Dictionary <XmlQualifiedName, String> context = (Dictionary <XmlQualifiedName, String>)ReceiveActivity.GetContext(receiveActivity1, receiveActivity1.ContextToken);
     //</snippet13>
 }