Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PopupRootAutomationPeer.cs
- LayoutManager.cs
- Message.cs
- FolderLevelBuildProvider.cs
- ListViewEditEventArgs.cs
- AsyncPostBackErrorEventArgs.cs
- InputMethodStateChangeEventArgs.cs
- SqlFactory.cs
- DeploymentSection.cs
- ToolboxDataAttribute.cs
- FixedSOMGroup.cs
- AutomationElement.cs
- NavigationFailedEventArgs.cs
- CredentialCache.cs
- UnknownWrapper.cs
- TextSpanModifier.cs
- HttpRawResponse.cs
- SoapReflectionImporter.cs
- TemporaryBitmapFile.cs
- BamlLocalizationDictionary.cs
- PropertyDescriptor.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- HtmlInputButton.cs
- ClientUtils.cs
- TrustLevelCollection.cs
- ConversionValidationRule.cs
- SecureEnvironment.cs
- MSAAEventDispatcher.cs
- CfgRule.cs
- UriScheme.cs
- MetadataCacheItem.cs
- EntitySetBaseCollection.cs
- Pen.cs
- IconEditor.cs
- ToolStripOverflow.cs
- TextEffect.cs
- Permission.cs
- OracleConnection.cs
- FormatSettings.cs
- StrongName.cs
- odbcmetadatacolumnnames.cs
- TransactionInformation.cs
- DataStreams.cs
- FormViewRow.cs
- SourceFilter.cs
- BaseTemplateParser.cs
- IsolatedStorageFilePermission.cs
- SQLDecimal.cs
- PixelShader.cs
- DictionarySectionHandler.cs
- ZoomPercentageConverter.cs
- NamedPipeTransportSecurityElement.cs
- PersonalizationState.cs
- SrgsOneOf.cs
- EntityClientCacheKey.cs
- EventDescriptor.cs
- LabelLiteral.cs
- LogWriteRestartAreaAsyncResult.cs
- BatchServiceHost.cs
- DoubleLinkList.cs
- DrawingBrush.cs
- HScrollBar.cs
- EventLogLink.cs
- Pair.cs
- AmbientEnvironment.cs
- ClientTarget.cs
- TypedTableBase.cs
- SqlDataSourceCustomCommandEditor.cs
- SubtreeProcessor.cs
- DragDropHelper.cs
- XLinq.cs
- GridSplitter.cs
- DesignerToolStripControlHost.cs
- XmlSchema.cs
- CodeDomSerializer.cs
- StrongNameUtility.cs
- GroupBoxAutomationPeer.cs
- MULTI_QI.cs
- FontFamilyValueSerializer.cs
- KnownBoxes.cs
- TimeZoneInfo.cs
- Int64Converter.cs
- MetadataHelper.cs
- ImageDrawing.cs
- SystemInfo.cs
- SHA256CryptoServiceProvider.cs
- InstallerTypeAttribute.cs
- MailMessage.cs
- DataSetFieldSchema.cs
- ReversePositionQuery.cs
- SingleAnimationBase.cs
- GlyphElement.cs
- HttpResponse.cs
- LogicalTreeHelper.cs
- Convert.cs
- PtsCache.cs
- ClientTargetSection.cs
- RelatedEnd.cs
- DateTime.cs
- DefaultParameterValueAttribute.cs