Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- InfoCardServiceInstallComponent.cs
- XmlEnumAttribute.cs
- ValidatingPropertiesEventArgs.cs
- ConfigurationSectionGroup.cs
- exports.cs
- RegexNode.cs
- RootBrowserWindow.cs
- DataGridViewCellStyleEditor.cs
- DataColumnMapping.cs
- HttpCookiesSection.cs
- UiaCoreProviderApi.cs
- DataGridViewCellPaintingEventArgs.cs
- VersionPair.cs
- CompressionTransform.cs
- ModifierKeysValueSerializer.cs
- OSFeature.cs
- XPathDocumentBuilder.cs
- OdbcDataReader.cs
- WebPartUtil.cs
- ThrowOnMultipleAssignment.cs
- TiffBitmapEncoder.cs
- AlternationConverter.cs
- NumericUpDown.cs
- DbConvert.cs
- ObjectToIdCache.cs
- Sql8ExpressionRewriter.cs
- WebPartManager.cs
- TouchFrameEventArgs.cs
- MenuEventArgs.cs
- ResourcePermissionBaseEntry.cs
- QualificationDataItem.cs
- FormView.cs
- Timer.cs
- XNodeValidator.cs
- ToolStripDropDownButton.cs
- DigitShape.cs
- ResourcePart.cs
- XmlSerializerImportOptions.cs
- DataRelationPropertyDescriptor.cs
- CaseStatementSlot.cs
- XmlSchemaAll.cs
- Geometry.cs
- TypeInformation.cs
- InputLanguageCollection.cs
- TdsParserStateObject.cs
- IProducerConsumerCollection.cs
- TagElement.cs
- DirectoryNotFoundException.cs
- ObjectTypeMapping.cs
- FlowDocumentPaginator.cs
- DataChangedEventManager.cs
- CodeNamespaceCollection.cs
- FileDialog.cs
- ListContractAdapter.cs
- XmlAnyAttributeAttribute.cs
- Size3DValueSerializer.cs
- FlowDocumentScrollViewer.cs
- KnownIds.cs
- ProtocolsInstallComponent.cs
- SettingsBindableAttribute.cs
- UrlMappingsModule.cs
- EventSource.cs
- GridItemCollection.cs
- Style.cs
- Lease.cs
- SqlDataSourceFilteringEventArgs.cs
- BaseValidator.cs
- PropertyReferenceExtension.cs
- DoubleLinkList.cs
- COM2Properties.cs
- SqlGatherConsumedAliases.cs
- SQLSingle.cs
- HistoryEventArgs.cs
- WebPartEditorApplyVerb.cs
- IRCollection.cs
- Interlocked.cs
- SubstitutionResponseElement.cs
- CheckoutException.cs
- BamlLocalizationDictionary.cs
- HttpProfileGroupBase.cs
- WindowsSysHeader.cs
- ChildTable.cs
- TextRunCache.cs
- CreateUserWizard.cs
- WsatExtendedInformation.cs
- Semaphore.cs
- MethodBody.cs
- RefreshEventArgs.cs
- Wizard.cs
- InvalidEnumArgumentException.cs
- ObjectDataSourceFilteringEventArgs.cs
- UIElementHelper.cs
- StringOutput.cs
- ViewCellSlot.cs
- PreviewKeyDownEventArgs.cs
- TemplatedAdorner.cs
- TableLayoutColumnStyleCollection.cs
- Vector3D.cs
- SystemIPInterfaceProperties.cs
- FontDriver.cs