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
- FragmentQuery.cs
- CodeNamespaceCollection.cs
- SafeFileMappingHandle.cs
- TranslateTransform3D.cs
- CharacterHit.cs
- PropertyToken.cs
- CompilerCollection.cs
- DummyDataSource.cs
- HostedNamedPipeTransportManager.cs
- WebExceptionStatus.cs
- PointLightBase.cs
- MultiBindingExpression.cs
- RegexNode.cs
- InstanceKeyView.cs
- KeyboardNavigation.cs
- BevelBitmapEffect.cs
- ValidationSummaryDesigner.cs
- Mapping.cs
- XmlTypeMapping.cs
- AnnotationAuthorChangedEventArgs.cs
- WebPartManagerInternals.cs
- PerfCounters.cs
- NetworkStream.cs
- ProcessRequestArgs.cs
- ToolstripProfessionalRenderer.cs
- CompilerGlobalScopeAttribute.cs
- RectKeyFrameCollection.cs
- Validator.cs
- SettingsContext.cs
- Separator.cs
- XmlSchemaAnnotated.cs
- RelatedCurrencyManager.cs
- LinqDataSourceContextEventArgs.cs
- DoubleCollectionConverter.cs
- PropertyPushdownHelper.cs
- HtmlTableCellCollection.cs
- Stylesheet.cs
- COAUTHINFO.cs
- HashCryptoHandle.cs
- XmlSchemaAnyAttribute.cs
- SqlConnection.cs
- SqlDependencyUtils.cs
- rsa.cs
- XmlParserContext.cs
- XslTransform.cs
- UpdateCommand.cs
- DataGridViewComboBoxColumn.cs
- DbParameterHelper.cs
- WindowsEditBoxRange.cs
- TableAutomationPeer.cs
- GroupBoxRenderer.cs
- DetailsViewRow.cs
- SamlSerializer.cs
- StreamInfo.cs
- BamlCollectionHolder.cs
- Selector.cs
- Crc32.cs
- ComponentManagerBroker.cs
- ListParagraph.cs
- ControlUtil.cs
- InkPresenter.cs
- SimpleMailWebEventProvider.cs
- Animatable.cs
- PrtCap_Public.cs
- FormViewRow.cs
- CellTreeNode.cs
- EntityDataSourceWizardForm.cs
- DateRangeEvent.cs
- DataViewListener.cs
- DictionaryEntry.cs
- DataGridLinkButton.cs
- SafeRightsManagementHandle.cs
- ObjectQueryProvider.cs
- WindowsTreeView.cs
- OleDbCommandBuilder.cs
- TableAdapterManagerHelper.cs
- X509Certificate.cs
- QilTargetType.cs
- CqlQuery.cs
- PagedDataSource.cs
- EventLogPermission.cs
- DataGridPagerStyle.cs
- Thumb.cs
- CaseCqlBlock.cs
- IChannel.cs
- Region.cs
- ExceptionUtil.cs
- SelectionWordBreaker.cs
- XamlSerializationHelper.cs
- AuthenticatedStream.cs
- XmlLanguageConverter.cs
- NamespaceMapping.cs
- ReferencedType.cs
- SwitchElementsCollection.cs
- AssemblyFilter.cs
- Condition.cs
- ButtonChrome.cs
- UInt16Storage.cs
- ImageField.cs
- UntypedNullExpression.cs