Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Compilation / ClientBuildManagerCallback.cs / 1305376 / 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
- SpecialNameAttribute.cs
- MessageFilterTable.cs
- Schema.cs
- DebugView.cs
- IPAddress.cs
- ResolveNameEventArgs.cs
- TextContainer.cs
- SpecialFolderEnumConverter.cs
- CallSite.cs
- SpeechEvent.cs
- PagerSettings.cs
- ValueConversionAttribute.cs
- UriSectionData.cs
- QueryCacheManager.cs
- Membership.cs
- OutputCacheSection.cs
- FormViewDeleteEventArgs.cs
- DiagnosticsElement.cs
- DBDataPermissionAttribute.cs
- DispatcherHookEventArgs.cs
- EditBehavior.cs
- ConfigXmlComment.cs
- HttpCookieCollection.cs
- SchemaImporterExtensionElementCollection.cs
- PassportAuthenticationEventArgs.cs
- MailHeaderInfo.cs
- DataGridViewRowEventArgs.cs
- LinqDataSource.cs
- ConfigurationManagerHelperFactory.cs
- ToolBar.cs
- _ScatterGatherBuffers.cs
- SecurityDescriptor.cs
- PropertyGridEditorPart.cs
- NavigationProperty.cs
- SmiContext.cs
- cookieexception.cs
- FatalException.cs
- DataServiceContext.cs
- UnaryQueryOperator.cs
- SerializableAttribute.cs
- CachedPathData.cs
- AttributeTable.cs
- Win32MouseDevice.cs
- ConnectionManagementElement.cs
- InvokeWebService.cs
- ButtonRenderer.cs
- SqlProviderManifest.cs
- IndexerNameAttribute.cs
- ServiceHandle.cs
- ObjectConverter.cs
- GeneralTransform2DTo3D.cs
- RootBrowserWindowAutomationPeer.cs
- WpfKnownMember.cs
- CodeAttributeDeclaration.cs
- Region.cs
- XsltLoader.cs
- DoubleConverter.cs
- IPPacketInformation.cs
- DecoderNLS.cs
- SingleObjectCollection.cs
- ActivityExecutorOperation.cs
- XmlSchemaGroupRef.cs
- RenderCapability.cs
- EntityDesignerDataSourceView.cs
- BitmapDecoder.cs
- MessageSmuggler.cs
- IsolatedStorageFilePermission.cs
- WizardPanelChangingEventArgs.cs
- InputMethodStateTypeInfo.cs
- CodeDOMProvider.cs
- DataError.cs
- ThemeConfigurationDialog.cs
- CachedResourceDictionaryExtension.cs
- KnownTypeAttribute.cs
- Version.cs
- webeventbuffer.cs
- DashStyle.cs
- Animatable.cs
- WindowsToolbarItemAsMenuItem.cs
- AttributeTable.cs
- AnnotationComponentManager.cs
- DocumentGridContextMenu.cs
- TabItemAutomationPeer.cs
- ValidationEventArgs.cs
- VersionedStream.cs
- SqlConnectionFactory.cs
- ContextQuery.cs
- Color.cs
- DirectoryNotFoundException.cs
- FlatButtonAppearance.cs
- ChannelTracker.cs
- ListBoxItemAutomationPeer.cs
- ImageFormatConverter.cs
- Set.cs
- ShapeTypeface.cs
- InputScopeNameConverter.cs
- XmlAnyAttributeAttribute.cs
- ElementProxy.cs
- LocalizableAttribute.cs
- SqlExpander.cs