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
- GPRECT.cs
- HtmlImageAdapter.cs
- TreeWalkHelper.cs
- PriorityRange.cs
- Point3DIndependentAnimationStorage.cs
- PaperSize.cs
- UpdateTracker.cs
- AuthenticationConfig.cs
- TreeNodeBindingDepthConverter.cs
- MediaScriptCommandRoutedEventArgs.cs
- SystemTcpConnection.cs
- ConfigurationManager.cs
- AssertFilter.cs
- SamlSubject.cs
- RightsManagementPermission.cs
- DoubleLink.cs
- ProjectionPlan.cs
- DataGridView.cs
- ConfigurationValidatorBase.cs
- ArithmeticException.cs
- ProfileInfo.cs
- BasePattern.cs
- SchemaImporter.cs
- ByteStorage.cs
- AsyncOperation.cs
- ColumnWidthChangingEvent.cs
- EUCJPEncoding.cs
- XmlSerializationGeneratedCode.cs
- WpfKnownMemberInvoker.cs
- SimpleTextLine.cs
- Triplet.cs
- EntityContainerRelationshipSet.cs
- RenderOptions.cs
- XamlReaderHelper.cs
- FilterElement.cs
- ExtenderControl.cs
- AssemblyCollection.cs
- DiscreteKeyFrames.cs
- BitmapSizeOptions.cs
- PropertyEmitter.cs
- EnumConverter.cs
- SourceInterpreter.cs
- OrderPreservingPipeliningMergeHelper.cs
- RunInstallerAttribute.cs
- NumericUpDownAccelerationCollection.cs
- ParameterCollection.cs
- AssemblySettingAttributes.cs
- PseudoWebRequest.cs
- TerminatorSinks.cs
- userdatakeys.cs
- ReachVisualSerializer.cs
- ServiceDurableInstanceContextProvider.cs
- IProvider.cs
- ProxyManager.cs
- StructuredCompositeActivityDesigner.cs
- Attachment.cs
- HttpListenerRequest.cs
- StorageFunctionMapping.cs
- CodeGeneratorOptions.cs
- MultiBindingExpression.cs
- StructuredProperty.cs
- TemplatedEditableDesignerRegion.cs
- CodeChecksumPragma.cs
- ApplicationServiceManager.cs
- ColorInterpolationModeValidation.cs
- DeviceContexts.cs
- MobileTemplatedControlDesigner.cs
- HelpExampleGenerator.cs
- ThemeConfigurationDialog.cs
- EntityKeyElement.cs
- XmlHelper.cs
- StringAnimationBase.cs
- SafeEventHandle.cs
- XmlSerializerFactory.cs
- SliderAutomationPeer.cs
- ParentUndoUnit.cs
- DocumentSchemaValidator.cs
- XsdBuildProvider.cs
- NameTable.cs
- WebEvents.cs
- HttpModuleActionCollection.cs
- GenericTextProperties.cs
- CollectionDataContractAttribute.cs
- WebEvents.cs
- CodeVariableDeclarationStatement.cs
- TypeViewSchema.cs
- Win32Exception.cs
- DeviceFiltersSection.cs
- ExpressionLink.cs
- Label.cs
- EnumerableRowCollection.cs
- mediaclock.cs
- AddInControllerImpl.cs
- AutomationIdentifierGuids.cs
- SymmetricKey.cs
- ObjectListItem.cs
- Relationship.cs
- DirectoryNotFoundException.cs
- DefaultValueTypeConverter.cs
- Error.cs