Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Runtime / Remoting / __TransparentProxy.cs / 1 / __TransparentProxy.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** File: __TransparentProxy.cs ** ** ** Purpose: Defines Transparent proxy ** ** ===========================================================*/ namespace System.Runtime.Remoting.Proxies { using System.Runtime.Remoting; // Transparent proxy and Real proxy are vital pieces of the // remoting data structures. Transparent proxy magically // creates a message that represents a call on it and delegates // to the Real proxy to do the real remoting work. using System; internal sealed class __TransparentProxy { // Created inside EE private __TransparentProxy() { throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_Constructor)); } // Private members called by VM #pragma warning disable 169 private RealProxy _rp; // Reference to the real proxy private Object _stubData; // Data used by stubs to decide whether to short circuit calls or not private IntPtr _pMT; // Method table of the class this proxy represents private IntPtr _pInterfaceMT; // Cached interface method table private IntPtr _stub; // Unmanaged code that decides whether to short circuit calls or not #pragma warning restore 169 } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** File: __TransparentProxy.cs ** ** ** Purpose: Defines Transparent proxy ** ** ===========================================================*/ namespace System.Runtime.Remoting.Proxies { using System.Runtime.Remoting; // Transparent proxy and Real proxy are vital pieces of the // remoting data structures. Transparent proxy magically // creates a message that represents a call on it and delegates // to the Real proxy to do the real remoting work. using System; internal sealed class __TransparentProxy { // Created inside EE private __TransparentProxy() { throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_Constructor)); } // Private members called by VM #pragma warning disable 169 private RealProxy _rp; // Reference to the real proxy private Object _stubData; // Data used by stubs to decide whether to short circuit calls or not private IntPtr _pMT; // Method table of the class this proxy represents private IntPtr _pInterfaceMT; // Cached interface method table private IntPtr _stub; // Unmanaged code that decides whether to short circuit calls or not #pragma warning restore 169 } } // 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
- SingletonChannelAcceptor.cs
- ExpressionBuilderCollection.cs
- FlowDocumentPaginator.cs
- TableCellAutomationPeer.cs
- ProgressChangedEventArgs.cs
- EngineSiteSapi.cs
- UIElement3DAutomationPeer.cs
- ByteAnimationUsingKeyFrames.cs
- FixedSOMTableRow.cs
- HtmlEmptyTagControlBuilder.cs
- ChangeNode.cs
- _ProxyRegBlob.cs
- ConnectionPointCookie.cs
- XPathSelfQuery.cs
- AttachedAnnotationChangedEventArgs.cs
- srgsitem.cs
- PropertyFilterAttribute.cs
- Knowncolors.cs
- DataGridViewCellStyleChangedEventArgs.cs
- GeometryHitTestParameters.cs
- FixUp.cs
- UserControl.cs
- Rights.cs
- SqlTrackingQuery.cs
- XmlChildEnumerator.cs
- NonParentingControl.cs
- TypeInfo.cs
- LoginCancelEventArgs.cs
- ResourcePermissionBaseEntry.cs
- ContainerVisual.cs
- RenderOptions.cs
- AsyncContentLoadedEventArgs.cs
- SubMenuStyle.cs
- DescendentsWalkerBase.cs
- HotSpotCollection.cs
- Debug.cs
- X509Extension.cs
- InputLanguageProfileNotifySink.cs
- LoadWorkflowByKeyAsyncResult.cs
- TrackingStringDictionary.cs
- TabPage.cs
- WizardStepBase.cs
- GroupQuery.cs
- Queue.cs
- ButtonBaseAutomationPeer.cs
- ToolboxDataAttribute.cs
- MarkupCompiler.cs
- RSAPKCS1SignatureDeformatter.cs
- DataSourceCacheDurationConverter.cs
- GetUserPreferenceRequest.cs
- Tile.cs
- QueryExpr.cs
- ByteConverter.cs
- MenuItem.cs
- COM2Enum.cs
- Rect3D.cs
- LayoutTableCell.cs
- InheritanceAttribute.cs
- Int16.cs
- FragmentQuery.cs
- MasterPageParser.cs
- TraceProvider.cs
- XpsFontSerializationService.cs
- LinqDataSourceStatusEventArgs.cs
- StylusPointPropertyId.cs
- TextFindEngine.cs
- Application.cs
- BadImageFormatException.cs
- QuotedPrintableStream.cs
- WebPartRestoreVerb.cs
- TimeSpanValidator.cs
- HierarchicalDataBoundControlAdapter.cs
- Color.cs
- DateTimeConverter.cs
- RuleValidation.cs
- FlowLayoutSettings.cs
- ObjectCloneHelper.cs
- TypedTableBaseExtensions.cs
- GroupQuery.cs
- SizeValueSerializer.cs
- OrderByLifter.cs
- OutputWindow.cs
- InternalUserCancelledException.cs
- Point.cs
- DesignerToolboxInfo.cs
- SQLDateTime.cs
- DataGridParentRows.cs
- TwoPhaseCommit.cs
- FileSystemWatcher.cs
- PlatformNotSupportedException.cs
- X509ThumbprintKeyIdentifierClause.cs
- OleAutBinder.cs
- SQLMoney.cs
- ConfigurationCollectionAttribute.cs
- JoinGraph.cs
- SafeSecurityHelper.cs
- GeneralTransform.cs
- Highlights.cs
- DataControlFieldCell.cs
- TextRenderer.cs