Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SortDescriptionCollection.cs
- BufferedGraphics.cs
- InternalConfigEventArgs.cs
- ExpressionNormalizer.cs
- BrushMappingModeValidation.cs
- SelectionEditingBehavior.cs
- QuaternionAnimation.cs
- BitmapImage.cs
- WebServiceTypeData.cs
- Size.cs
- X509ThumbprintKeyIdentifierClause.cs
- DelegatingTypeDescriptionProvider.cs
- ValueQuery.cs
- updateconfighost.cs
- StrongNamePublicKeyBlob.cs
- ItemsPanelTemplate.cs
- HtmlInputRadioButton.cs
- AuthenticateEventArgs.cs
- Accessible.cs
- ComplexObject.cs
- TextRunProperties.cs
- StringToken.cs
- Cursors.cs
- RSAPKCS1SignatureFormatter.cs
- InvokeGenerator.cs
- OracleLob.cs
- MasterPageCodeDomTreeGenerator.cs
- IListConverters.cs
- ImageIndexConverter.cs
- ReadOnlyNameValueCollection.cs
- RelatedEnd.cs
- ClientScriptManagerWrapper.cs
- WSSecureConversation.cs
- StrokeRenderer.cs
- ThreadTrace.cs
- EntitySetBase.cs
- CacheForPrimitiveTypes.cs
- PointLightBase.cs
- DoubleCollection.cs
- DescendantBaseQuery.cs
- ProcessHostConfigUtils.cs
- QilStrConcat.cs
- CqlGenerator.cs
- xmlfixedPageInfo.cs
- ObjectIDGenerator.cs
- DataObjectEventArgs.cs
- DataDocumentXPathNavigator.cs
- XmlUtil.cs
- EntityDataSourceChangingEventArgs.cs
- SnapLine.cs
- ProfileInfo.cs
- RunInstallerAttribute.cs
- ExplicitDiscriminatorMap.cs
- ParallelTimeline.cs
- LinqDataSourceDeleteEventArgs.cs
- sqlser.cs
- EntityDataSourceQueryBuilder.cs
- DataSourceView.cs
- Internal.cs
- _FixedSizeReader.cs
- XmlTextAttribute.cs
- RadioButton.cs
- HtmlForm.cs
- TextPointerBase.cs
- XpsFilter.cs
- _ConnectStream.cs
- DragCompletedEventArgs.cs
- EndPoint.cs
- TextEditorDragDrop.cs
- ContainsRowNumberChecker.cs
- ControlUtil.cs
- GenericUriParser.cs
- OutputWindow.cs
- NativeMethods.cs
- TextDocumentView.cs
- X509Utils.cs
- SolidColorBrush.cs
- ChangeConflicts.cs
- TextSelection.cs
- VariableAction.cs
- ExpressionCopier.cs
- MimeParameter.cs
- MetabaseReader.cs
- NamedPipeChannelListener.cs
- StylusDownEventArgs.cs
- UnsafeNativeMethods.cs
- CheckPair.cs
- SchemaImporterExtension.cs
- StructuralType.cs
- ProfilePropertySettings.cs
- SafeHandles.cs
- CodeDOMUtility.cs
- SystemBrushes.cs
- _NegotiateClient.cs
- DataGridViewBand.cs
- RequestCachingSection.cs
- SafeNativeMethods.cs
- FileDialogCustomPlacesCollection.cs
- Funcletizer.cs
- ConfigurationLocation.cs