AWSSDK.UnitTests.LifecycleFilterTests.MarshallRequestFilterAndPrefix C# (CSharp) 메소드

MarshallRequestFilterAndPrefix() 개인적인 메소드

private MarshallRequestFilterAndPrefix ( ) : void
리턴 void
        public void MarshallRequestFilterAndPrefix()
        {
            AssertExtensions.ExpectException(() =>
            {
                MarshallRequest(new LifecycleFilter()
                {
                    LifecycleFilterPredicate = new LifecyclePrefixPredicate()
                    {
                        Prefix = "thePrefix"
                    }
                }, "theOtherPrefix");
            },
            typeof(AmazonClientException), "LifecycleRule.Prefix is deprecated.  Please only use LifecycleRule.Filter.");
        }