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 / Hosting / AppDomainProtocolHandler.cs / 1 / AppDomainProtocolHandler.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Hosting { using System; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public abstract class AppDomainProtocolHandler : MarshalByRefObject, IRegisteredObject { protected AppDomainProtocolHandler() { HostingEnvironment.RegisterObject(this); } [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)] public override Object InitializeLifetimeService(){ return null; // never expire lease } public abstract void StartListenerChannel(IListenerChannelCallback listenerChannelCallback); public abstract void StopListenerChannel(int listenerChannelId, bool immediate); public abstract void StopProtocol(bool immediate); public virtual void Stop(bool immediate) { StopProtocol(true); HostingEnvironment.UnregisterObject(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Hosting { using System; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public abstract class AppDomainProtocolHandler : MarshalByRefObject, IRegisteredObject { protected AppDomainProtocolHandler() { HostingEnvironment.RegisterObject(this); } [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)] public override Object InitializeLifetimeService(){ return null; // never expire lease } public abstract void StartListenerChannel(IListenerChannelCallback listenerChannelCallback); public abstract void StopListenerChannel(int listenerChannelId, bool immediate); public abstract void StopProtocol(bool immediate); public virtual void Stop(bool immediate) { StopProtocol(true); HostingEnvironment.UnregisterObject(this); } } } // 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
- ApplicationSecurityInfo.cs
- BigInt.cs
- DispatcherSynchronizationContext.cs
- ReachPageContentSerializerAsync.cs
- InternalPolicyElement.cs
- SweepDirectionValidation.cs
- PerfCounters.cs
- BitmapEffectInputConnector.cs
- DataSourceXmlSerializationAttribute.cs
- ActiveDocumentEvent.cs
- NestedContainer.cs
- AttachedPropertyInfo.cs
- Configuration.cs
- ViewBox.cs
- BidPrivateBase.cs
- OciLobLocator.cs
- Vector3D.cs
- SafeUserTokenHandle.cs
- MenuCommand.cs
- SQLMoneyStorage.cs
- DetailsViewRow.cs
- KeyValueConfigurationElement.cs
- BamlRecordReader.cs
- SQLString.cs
- ReadWriteObjectLock.cs
- SyntaxCheck.cs
- CustomServiceCredentials.cs
- DataControlPagerLinkButton.cs
- HierarchicalDataBoundControl.cs
- BinHexEncoder.cs
- ToolStripItemImageRenderEventArgs.cs
- CanExecuteRoutedEventArgs.cs
- COM2Properties.cs
- HTTPNotFoundHandler.cs
- QilXmlReader.cs
- DocumentOrderQuery.cs
- SmtpClient.cs
- HtmlContainerControl.cs
- StylusButton.cs
- XhtmlTextWriter.cs
- BindingSource.cs
- WeakRefEnumerator.cs
- WebSysDisplayNameAttribute.cs
- RSAPKCS1SignatureFormatter.cs
- OutputCacheProfile.cs
- TextDecorations.cs
- oledbmetadatacollectionnames.cs
- HttpModuleAction.cs
- OuterGlowBitmapEffect.cs
- ReadContentAsBinaryHelper.cs
- XmlSchemaAny.cs
- ACL.cs
- ProfileParameter.cs
- RichTextBox.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- ConnectionManagementSection.cs
- DynamicMetaObjectBinder.cs
- ActiveDocumentEvent.cs
- ChildTable.cs
- DataPagerFieldCommandEventArgs.cs
- RectValueSerializer.cs
- Menu.cs
- BookmarkScopeHandle.cs
- Base64Decoder.cs
- XamlSerializationHelper.cs
- EventSinkActivityDesigner.cs
- EdmProperty.cs
- ListBase.cs
- IEnumerable.cs
- PeerNameRecordCollection.cs
- SizeValueSerializer.cs
- AsyncResult.cs
- DataGridViewHitTestInfo.cs
- XmlQueryCardinality.cs
- SqlCacheDependencySection.cs
- RuleProcessor.cs
- SystemNetworkInterface.cs
- MarkupExtensionParser.cs
- AbsoluteQuery.cs
- ConnectionPoint.cs
- DataList.cs
- Claim.cs
- TextBoxAutomationPeer.cs
- AjaxFrameworkAssemblyAttribute.cs
- shaperfactoryquerycachekey.cs
- StringResourceManager.cs
- TableColumnCollection.cs
- EmptyControlCollection.cs
- DataProtectionSecurityStateEncoder.cs
- DataProtectionSecurityStateEncoder.cs
- StylusLogic.cs
- MouseWheelEventArgs.cs
- OracleLob.cs
- Pair.cs
- ParsedAttributeCollection.cs
- NoneExcludedImageIndexConverter.cs
- HttpHeaderCollection.cs
- ContainerParagraph.cs
- DeclaredTypeValidator.cs
- ToolStripScrollButton.cs