Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Compilation / ClientBuildManagerCallback.cs / 2 / ClientBuildManagerCallback.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /************************************************************************************************************/ namespace System.Web.Compilation { using System; using System.Security.Permissions; using System.CodeDom; using System.CodeDom.Compiler; using System.Web.UI; // // This is a callback class implemented by ClientBuildManager callers. It is used // to receive status information about the build. // [PermissionSet(SecurityAction.LinkDemand, Unrestricted = true)] [PermissionSet(SecurityAction.InheritanceDemand, Unrestricted = true)] public class ClientBuildManagerCallback : MarshalByRefObject { // This includes both errors and warnings public virtual void ReportCompilerError(CompilerError error) {} public virtual void ReportParseError(ParserError error) {} public virtual void ReportProgress(string message) {} // DevDiv 180798. The default lease is 5 minutes, so we return null to allow compilation // calls to exceed 5 minutes. In doing so, we need to call RemotingService.Disconnect // to release the object. public override object InitializeLifetimeService() { return null; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /************************************************************************************************************/ namespace System.Web.Compilation { using System; using System.Security.Permissions; using System.CodeDom; using System.CodeDom.Compiler; using System.Web.UI; // // This is a callback class implemented by ClientBuildManager callers. It is used // to receive status information about the build. // [PermissionSet(SecurityAction.LinkDemand, Unrestricted = true)] [PermissionSet(SecurityAction.InheritanceDemand, Unrestricted = true)] public class ClientBuildManagerCallback : MarshalByRefObject { // This includes both errors and warnings public virtual void ReportCompilerError(CompilerError error) {} public virtual void ReportParseError(ParserError error) {} public virtual void ReportProgress(string message) {} // DevDiv 180798. The default lease is 5 minutes, so we return null to allow compilation // calls to exceed 5 minutes. In doing so, we need to call RemotingService.Disconnect // to release the object. public override object InitializeLifetimeService() { return null; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RequestCachePolicy.cs
- PaintEvent.cs
- ColumnMapTranslator.cs
- DefaultAssemblyResolver.cs
- TimeSpanStorage.cs
- Rfc2898DeriveBytes.cs
- AdornerLayer.cs
- Italic.cs
- RC2CryptoServiceProvider.cs
- BindingValueChangedEventArgs.cs
- ButtonAutomationPeer.cs
- ActivityDesigner.cs
- WebPartActionVerb.cs
- StackSpiller.Bindings.cs
- FieldAccessException.cs
- DelayedRegex.cs
- ConfigXmlSignificantWhitespace.cs
- NotImplementedException.cs
- ShaperBuffers.cs
- XPathChildIterator.cs
- UnmanagedMemoryStreamWrapper.cs
- ComplexTypeEmitter.cs
- SignerInfo.cs
- DelegatingHeader.cs
- xsdvalidator.cs
- CustomErrorCollection.cs
- GACMembershipCondition.cs
- ISAPIApplicationHost.cs
- Point3DAnimationBase.cs
- ProjectionQueryOptionExpression.cs
- TextAutomationPeer.cs
- WorkflowRuntimeServiceElement.cs
- ValueChangedEventManager.cs
- Binding.cs
- OlePropertyStructs.cs
- _UriTypeConverter.cs
- wmiprovider.cs
- ToolStripPanelSelectionBehavior.cs
- _AuthenticationState.cs
- GifBitmapDecoder.cs
- Drawing.cs
- PointHitTestParameters.cs
- LambdaCompiler.Statements.cs
- HtmlImage.cs
- HttpDebugHandler.cs
- BooleanStorage.cs
- XmlRootAttribute.cs
- SecurityKeyIdentifierClause.cs
- querybuilder.cs
- BitmapPalettes.cs
- versioninfo.cs
- PropagatorResult.cs
- HttpGetServerProtocol.cs
- SerializationBinder.cs
- AuthenticationModulesSection.cs
- SingleConverter.cs
- CrossContextChannel.cs
- UnicodeEncoding.cs
- HashCodeCombiner.cs
- SymbolTable.cs
- XmlFormatExtensionAttribute.cs
- SystemInfo.cs
- RsaElement.cs
- _AutoWebProxyScriptWrapper.cs
- Sql8ExpressionRewriter.cs
- DocComment.cs
- PeerPresenceInfo.cs
- ListViewTableCell.cs
- FlowDocumentPageViewerAutomationPeer.cs
- IisTraceListener.cs
- GeometryModel3D.cs
- DataMemberAttribute.cs
- VarInfo.cs
- XmlAttributeOverrides.cs
- HtmlInputControl.cs
- ErrorsHelper.cs
- ParserHooks.cs
- TextPattern.cs
- PiiTraceSource.cs
- ComponentEvent.cs
- ToolTip.cs
- DrawItemEvent.cs
- TargetConverter.cs
- PerformanceCounterManager.cs
- AtomMaterializer.cs
- ConfigXmlWhitespace.cs
- WebSysDisplayNameAttribute.cs
- Frame.cs
- PropertyConverter.cs
- SerializationUtilities.cs
- ContextStaticAttribute.cs
- ProxySimple.cs
- ProcessThreadCollection.cs
- BuildProvider.cs
- MessageSmuggler.cs
- XPathSelfQuery.cs
- MenuTracker.cs
- PagesSection.cs
- ColorConverter.cs
- TemplateNameScope.cs