Esempio n. 1
0
        public void Execute()
        {
            var t = new MsmqGrantWriteTask(_address, @"Everyone");
            var r = t.Execute();

            Assert.IsFalse(r.ContainsError(), "Errors occured during permission setting.");
        }
            public override void Context()
            {
                base.Context();
                RemoveLocalQueueIfExistsAndCreate(address.LocalName);

                task = new MsmqGrantWriteTask(address, user);
            }