internal void Release(EnumerationContextType context)
 {
     using (Message releaseRequest = MessageComposer.GenerateReleaseMessage(context))
     {
         using (Message responseMessage = Release(releaseRequest))
         {
             releaseRequest.ThrowOnFault();
         }
     }
 }
Esempio n. 2
0
        internal void Release(EnumerationContextType context)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            using (Message releaseRequest = MessageComposer.GenerateReleaseMessage(context))
            {
                using (Message responseMessage = this.Release(releaseRequest))
                {
                    responseMessage.ThrowOnFault();
                }
            }
        }