Enyim.Caching.Configuration.MemcachedClientSection.PostDeserialize C# (CSharp) 메소드

PostDeserialize() 보호된 메소드

Called after deserialization.
protected PostDeserialize ( ) : void
리턴 void
		protected override void PostDeserialize()
		{
			WebContext hostingContext = base.EvaluationContext.HostingContext as WebContext;

			if (hostingContext != null && hostingContext.ApplicationLevel == WebApplicationLevel.BelowApplication)
			{
				throw new InvalidOperationException("The " + this.SectionInformation.SectionName + " section cannot be defined below the application level.");
			}
		}