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
- WriteableBitmap.cs
- SqlDependencyUtils.cs
- SessionEndedEventArgs.cs
- AutomationAttributeInfo.cs
- ElementNotEnabledException.cs
- DataSet.cs
- ToolStripDropDownDesigner.cs
- XmlTypeMapping.cs
- DomNameTable.cs
- XmlSchemaSequence.cs
- WindowsToolbarAsMenu.cs
- ResourceExpressionBuilder.cs
- PagedDataSource.cs
- OletxResourceManager.cs
- DataSourceDescriptorCollection.cs
- NameValueCollection.cs
- Color.cs
- HttpModulesSection.cs
- CreateSequenceResponse.cs
- TemplateKeyConverter.cs
- UriTemplateTable.cs
- GridItemPattern.cs
- RNGCryptoServiceProvider.cs
- ToolStripLabel.cs
- sqlmetadatafactory.cs
- MetadataSerializer.cs
- StreamInfo.cs
- BuilderElements.cs
- PriorityQueue.cs
- AccessControlList.cs
- SqlUserDefinedAggregateAttribute.cs
- InputMethod.cs
- ResourceAttributes.cs
- CharStorage.cs
- XmlNode.cs
- HashSetDebugView.cs
- MergeLocalizationDirectives.cs
- ModuleBuilderData.cs
- FileDialog_Vista_Interop.cs
- COAUTHINFO.cs
- Viewport2DVisual3D.cs
- WpfGeneratedKnownTypes.cs
- NamespaceCollection.cs
- WinInetCache.cs
- Light.cs
- IdentityModelStringsVersion1.cs
- DependencyObjectPropertyDescriptor.cs
- ListBase.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- UshortList2.cs
- CollectionBase.cs
- MessageSecurityVersionConverter.cs
- ErrorFormatterPage.cs
- WebPartAuthorizationEventArgs.cs
- InputScopeManager.cs
- MetadataPropertyAttribute.cs
- InheritanceContextHelper.cs
- ValueSerializer.cs
- SystemGatewayIPAddressInformation.cs
- DoubleCollectionConverter.cs
- WebHeaderCollection.cs
- WbmpConverter.cs
- RootProfilePropertySettingsCollection.cs
- Setter.cs
- Brush.cs
- WindowsListBox.cs
- ThreadPoolTaskScheduler.cs
- WebPartConnectionsConfigureVerb.cs
- HttpStaticObjectsCollectionWrapper.cs
- RoleManagerModule.cs
- XmlIgnoreAttribute.cs
- DataGridAutoFormatDialog.cs
- ThemeDictionaryExtension.cs
- BinarySecretKeyIdentifierClause.cs
- smtppermission.cs
- SafeBitVector32.cs
- XamlPointCollectionSerializer.cs
- QueryOutputWriter.cs
- dbdatarecord.cs
- ActivityExecutorDelegateInfo.cs
- NTAccount.cs
- Number.cs
- XmlSchemaType.cs
- SplineQuaternionKeyFrame.cs
- CheckedListBox.cs
- Rules.cs
- Typeface.cs
- CompilerGeneratedAttribute.cs
- ColumnBinding.cs
- Ops.cs
- DCSafeHandle.cs
- SqlDataReader.cs
- PowerStatus.cs
- ConfigurationPropertyCollection.cs
- LineBreak.cs
- TextChangedEventArgs.cs
- keycontainerpermission.cs
- SourceInterpreter.cs
- BitmapMetadataBlob.cs
- StaticDataManager.cs