Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / Compilation / ClientBuildManagerCallback.cs / 1 / 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
- HostingEnvironmentException.cs
- HtmlImage.cs
- StrongTypingException.cs
- ImageIndexConverter.cs
- TaskFormBase.cs
- SimpleWebHandlerParser.cs
- XmlStreamNodeWriter.cs
- _IPv6Address.cs
- CommandBinding.cs
- PointCollection.cs
- FormatterConverter.cs
- DoubleCollection.cs
- AsyncCodeActivity.cs
- _PooledStream.cs
- WebScriptMetadataFormatter.cs
- XmlSchemaAll.cs
- Stylesheet.cs
- SecUtil.cs
- ZipArchive.cs
- BitSet.cs
- DesignSurfaceEvent.cs
- TextEditorCharacters.cs
- ProcessHost.cs
- COM2PictureConverter.cs
- AnimationTimeline.cs
- FormatConvertedBitmap.cs
- HybridDictionary.cs
- FixedBufferAttribute.cs
- SubMenuStyle.cs
- TableAutomationPeer.cs
- RadioButtonPopupAdapter.cs
- BrowserDefinition.cs
- CompilationLock.cs
- Base64Stream.cs
- Clipboard.cs
- AssemblyHash.cs
- HuffmanTree.cs
- SizeChangedInfo.cs
- SqlConnectionManager.cs
- DefaultPropertyAttribute.cs
- WebPartConnectionsDisconnectVerb.cs
- ClusterRegistryConfigurationProvider.cs
- ClientApiGenerator.cs
- ForceCopyBuildProvider.cs
- XpsLiterals.cs
- StringWriter.cs
- SystemParameters.cs
- ReceiveContext.cs
- PagePropertiesChangingEventArgs.cs
- ViewStateModeByIdAttribute.cs
- MimeXmlImporter.cs
- SystemGatewayIPAddressInformation.cs
- ResourceReferenceExpression.cs
- CodeTryCatchFinallyStatement.cs
- OLEDB_Enum.cs
- JobInputBins.cs
- EntityContainer.cs
- AuthenticateEventArgs.cs
- HttpCachePolicyElement.cs
- IpcManager.cs
- CounterCreationDataCollection.cs
- Rectangle.cs
- KeyConverter.cs
- XmlArrayItemAttribute.cs
- XmlWellformedWriter.cs
- HebrewNumber.cs
- RadioButton.cs
- FixedTextContainer.cs
- remotingproxy.cs
- HttpHeaderCollection.cs
- AliasedSlot.cs
- ShaderRenderModeValidation.cs
- EmptyCollection.cs
- DbExpressionVisitor_TResultType.cs
- DesignerForm.cs
- UIElementParagraph.cs
- IChannel.cs
- ObjectQueryProvider.cs
- WindowsListView.cs
- BitmapMetadataBlob.cs
- SiblingIterators.cs
- StateManagedCollection.cs
- MultipartIdentifier.cs
- SqlUDTStorage.cs
- ResourcesChangeInfo.cs
- OutputWindow.cs
- ExpressionEditorSheet.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- RelationalExpressions.cs
- DataContractJsonSerializer.cs
- RenderContext.cs
- HuffModule.cs
- InstanceKeyView.cs
- ReadOnlyDictionary.cs
- ExpressionVisitorHelpers.cs
- HttpCachePolicyElement.cs
- SQLMembershipProvider.cs
- RuntimeArgumentHandle.cs
- BulletDecorator.cs
- EventRecord.cs