Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Hosting / ProcessProtocolHandler.cs / 3 / ProcessProtocolHandler.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 ProcessProtocolHandler : MarshalByRefObject { protected ProcessProtocolHandler() { } [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)] public override Object InitializeLifetimeService(){ return null; // never expire lease } public abstract void StartListenerChannel(IListenerChannelCallback listenerChannelCallback, IAdphManager AdphManager); public abstract void StopListenerChannel(int listenerChannelId, bool immediate); public abstract void StopProtocol(bool immediate); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// 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 ProcessProtocolHandler : MarshalByRefObject { protected ProcessProtocolHandler() { } [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.Infrastructure)] public override Object InitializeLifetimeService(){ return null; // never expire lease } public abstract void StartListenerChannel(IListenerChannelCallback listenerChannelCallback, IAdphManager AdphManager); public abstract void StopListenerChannel(int listenerChannelId, bool immediate); public abstract void StopProtocol(bool immediate); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsListBox.cs
- ValidationEventArgs.cs
- Model3DGroup.cs
- SubordinateTransaction.cs
- SqlClientWrapperSmiStream.cs
- EndPoint.cs
- CodeTypeReference.cs
- NegotiationTokenAuthenticator.cs
- BamlVersionHeader.cs
- ResourceReferenceKeyNotFoundException.cs
- WebPartConnectVerb.cs
- DbUpdateCommandTree.cs
- HttpConfigurationSystem.cs
- FontWeights.cs
- BitmapSizeOptions.cs
- SectionXmlInfo.cs
- DataGridColumnHeadersPresenter.cs
- BamlWriter.cs
- RequiredFieldValidator.cs
- DuplexChannel.cs
- Win32KeyboardDevice.cs
- SessionStateContainer.cs
- SortFieldComparer.cs
- RemotingServices.cs
- XPathDocumentBuilder.cs
- StrongBox.cs
- XmlDsigSep2000.cs
- COM2ExtendedBrowsingHandler.cs
- DeclarationUpdate.cs
- XmlAutoDetectWriter.cs
- WebPartZoneCollection.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- PrintDialog.cs
- DynamicDataExtensions.cs
- CompleteWizardStep.cs
- PTUtility.cs
- Request.cs
- TableRow.cs
- WebSysDisplayNameAttribute.cs
- Certificate.cs
- ReliableSessionBindingElement.cs
- UnsafeNativeMethods.cs
- ImportContext.cs
- HttpCachePolicyElement.cs
- SqlDependency.cs
- ImageFormatConverter.cs
- StylusPointProperties.cs
- Brush.cs
- PerformanceCounterManager.cs
- FastPropertyAccessor.cs
- HwndStylusInputProvider.cs
- X509CertificateCollection.cs
- MailAddressCollection.cs
- AppModelKnownContentFactory.cs
- InputDevice.cs
- COM2Properties.cs
- StickyNote.cs
- UpdatePanelTriggerCollection.cs
- DataBoundLiteralControl.cs
- MetafileHeader.cs
- HostUtils.cs
- ReadOnlyObservableCollection.cs
- FormsIdentity.cs
- DPCustomTypeDescriptor.cs
- PcmConverter.cs
- EnumValAlphaComparer.cs
- EventData.cs
- NameSpaceExtractor.cs
- CancellationToken.cs
- Dispatcher.cs
- TimerElapsedEvenArgs.cs
- Repeater.cs
- EUCJPEncoding.cs
- ImageAnimator.cs
- PersonalizationProviderCollection.cs
- SystemWebCachingSectionGroup.cs
- SchemaImporterExtensionElementCollection.cs
- DefaultEventAttribute.cs
- BufferedWebEventProvider.cs
- StaticSiteMapProvider.cs
- shaper.cs
- Expander.cs
- ImportStoreException.cs
- BuildProviderCollection.cs
- WindowsListBox.cs
- WebPartUtil.cs
- XmlChildNodes.cs
- HttpWebResponse.cs
- RowVisual.cs
- TypeDependencyAttribute.cs
- ConnectionPoint.cs
- PopupControlService.cs
- PartialTrustVisibleAssembliesSection.cs
- exports.cs
- BookmarkScopeInfo.cs
- DocumentAutomationPeer.cs
- PagedControl.cs
- IOException.cs
- Point4DConverter.cs
- CurrentTimeZone.cs