Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Hosting / AppDomainProtocolHandler.cs / 3 / 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); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- VariantWrapper.cs
- ObjectItemAttributeAssemblyLoader.cs
- FunctionDefinition.cs
- CompiledAction.cs
- shaperfactory.cs
- GradientSpreadMethodValidation.cs
- LinqDataSourceEditData.cs
- BuildResultCache.cs
- Rijndael.cs
- Faults.cs
- AnnotationStore.cs
- DataSourceControlBuilder.cs
- CodeSubDirectory.cs
- IncrementalReadDecoders.cs
- DefaultAsyncDataDispatcher.cs
- AuthenticationService.cs
- XPathBinder.cs
- ConditionCollection.cs
- BitmapMetadataBlob.cs
- Attributes.cs
- VisualBrush.cs
- SystemIcons.cs
- BufferedReadStream.cs
- SchemaElementLookUpTable.cs
- NavigationService.cs
- ArgumentOutOfRangeException.cs
- BoundPropertyEntry.cs
- HttpSysSettings.cs
- StringAnimationBase.cs
- LocalizationParserHooks.cs
- ExtractedStateEntry.cs
- ExpressionEditorAttribute.cs
- XsltLibrary.cs
- QilParameter.cs
- BinaryCommonClasses.cs
- FastEncoderWindow.cs
- DirtyTextRange.cs
- LocalizationParserHooks.cs
- AspNetSynchronizationContext.cs
- ProxyGenerator.cs
- PreDigestedSignedInfo.cs
- DbConnectionInternal.cs
- BreakRecordTable.cs
- AnchorEditor.cs
- JoinTreeNode.cs
- BooleanFunctions.cs
- StreamReader.cs
- EventWaitHandle.cs
- XomlCompiler.cs
- QilName.cs
- KnowledgeBase.cs
- FileVersion.cs
- _SSPIWrapper.cs
- AssemblyNameProxy.cs
- XamlFrame.cs
- EasingFunctionBase.cs
- StringInfo.cs
- SafeHandles.cs
- WebBrowsableAttribute.cs
- EncoderNLS.cs
- CaseInsensitiveComparer.cs
- DrawingBrush.cs
- _ListenerResponseStream.cs
- FormClosedEvent.cs
- GetPageCompletedEventArgs.cs
- NegationPusher.cs
- TypeUtils.cs
- ByteStack.cs
- UserPreferenceChangingEventArgs.cs
- PermissionSet.cs
- SqlXmlStorage.cs
- KeyToListMap.cs
- PersonalizationProviderHelper.cs
- AttachedPropertyDescriptor.cs
- IsolatedStorage.cs
- EntityRecordInfo.cs
- SwitchElementsCollection.cs
- SecurityContext.cs
- ScriptRef.cs
- NavigationPropertyEmitter.cs
- CatalogPartCollection.cs
- CorrelationResolver.cs
- RelationshipEndMember.cs
- Floater.cs
- MoveSizeWinEventHandler.cs
- RoutedEventValueSerializer.cs
- Oci.cs
- SafeFreeMibTable.cs
- NamedPipeProcessProtocolHandler.cs
- UserValidatedEventArgs.cs
- ElementNotAvailableException.cs
- SimpleNameService.cs
- EntityDesignerDataSourceView.cs
- _SslSessionsCache.cs
- DataPagerField.cs
- ApplicationCommands.cs
- LinkedResourceCollection.cs
- CodeAttributeArgumentCollection.cs
- HistoryEventArgs.cs
- FlowLayoutPanelDesigner.cs