Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / ManagedLibraries / Remoting / Services / RemotingService.cs / 1305376 / RemotingService.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.Remoting.Services { using System.Diagnostics; using System.Web; using System.ComponentModel; using System.Web.SessionState; using System.Security.Principal; using System.Runtime.Remoting.Channels; public class RemotingService : Component { public HttpApplicationState Application { get { return Context.Application; } } public HttpContext Context { get { HttpContext context = HttpContext.Current; if (context == null) throw new RemotingException(CoreChannel.GetResourceString("Remoting_HttpContextNotAvailable")); return context; } } public HttpSessionState Session { get { return Context.Session; } } public HttpServerUtility Server { get { return Context.Server; } } public IPrincipal User { get { return Context.User; } } } } // 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
- EdmRelationshipNavigationPropertyAttribute.cs
- SoapAttributeOverrides.cs
- PingReply.cs
- ExtendedProtectionPolicy.cs
- XmlCharType.cs
- DataGridViewSelectedCellCollection.cs
- GridViewRowEventArgs.cs
- CreateRefExpr.cs
- DefaultMemberAttribute.cs
- ToolStripOverflow.cs
- StackOverflowException.cs
- MailAddressCollection.cs
- FileUpload.cs
- GroupItemAutomationPeer.cs
- FloaterBaseParagraph.cs
- NumericUpDownAccelerationCollection.cs
- RestClientProxyHandler.cs
- TTSEngineTypes.cs
- RadioButtonRenderer.cs
- OutputCacheProfileCollection.cs
- EntityChangedParams.cs
- XmlAggregates.cs
- ParseChildrenAsPropertiesAttribute.cs
- StylusCaptureWithinProperty.cs
- ListViewEditEventArgs.cs
- EncodingNLS.cs
- Validator.cs
- SQLBinaryStorage.cs
- DirectionalLight.cs
- Inline.cs
- MultipleCopiesCollection.cs
- PageParserFilter.cs
- PropertyManager.cs
- ImageProxy.cs
- ToolStripDropDownClosingEventArgs.cs
- Formatter.cs
- WebBaseEventKeyComparer.cs
- SecUtil.cs
- TextRangeEditLists.cs
- SoapAttributeOverrides.cs
- TabletCollection.cs
- HttpStreamMessageEncoderFactory.cs
- SecurityDocument.cs
- Propagator.JoinPropagator.cs
- ButtonChrome.cs
- DataGridViewImageCell.cs
- SystemColorTracker.cs
- MasterPageParser.cs
- ObjectHandle.cs
- TransactionScope.cs
- Timer.cs
- TargetInvocationException.cs
- TableAutomationPeer.cs
- DbFunctionCommandTree.cs
- ByeMessageCD1.cs
- SqlCharStream.cs
- CustomError.cs
- HttpDictionary.cs
- DSASignatureDeformatter.cs
- HtmlTextBoxAdapter.cs
- PageThemeCodeDomTreeGenerator.cs
- MetadataItem_Static.cs
- ResourceDescriptionAttribute.cs
- Html32TextWriter.cs
- NullReferenceException.cs
- EventLog.cs
- CopyNodeSetAction.cs
- QueryableDataSourceHelper.cs
- Mutex.cs
- SelectorAutomationPeer.cs
- WebPartTransformerAttribute.cs
- WindowsListViewSubItem.cs
- NodeLabelEditEvent.cs
- DesignerActionItem.cs
- IdentityNotMappedException.cs
- SafePipeHandle.cs
- MultiBinding.cs
- Point4DConverter.cs
- IListConverters.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- SpeechRecognitionEngine.cs
- TargetException.cs
- MsmqInputChannelBase.cs
- HtmlEncodedRawTextWriter.cs
- WebPartConnectionsConnectVerb.cs
- XmlAttributeAttribute.cs
- Graph.cs
- DataServiceQueryOfT.cs
- QueryResult.cs
- StreamUpgradeBindingElement.cs
- CheckPair.cs
- SortedDictionary.cs
- DrawToolTipEventArgs.cs
- SqlException.cs
- HttpRequest.cs
- ConfigurationLocation.cs
- JapaneseLunisolarCalendar.cs
- CallbackDebugBehavior.cs
- Image.cs
- TraceEventCache.cs