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
- FrameDimension.cs
- SqlCacheDependencyDatabaseCollection.cs
- LocalsItemDescription.cs
- X509WindowsSecurityToken.cs
- DataGridPagerStyle.cs
- BinaryUtilClasses.cs
- Duration.cs
- Int16Storage.cs
- PasswordRecovery.cs
- ReferenceSchema.cs
- BindingObserver.cs
- IdentitySection.cs
- _NativeSSPI.cs
- UriTemplateEquivalenceComparer.cs
- PermissionAttributes.cs
- SqlGenericUtil.cs
- QuadraticBezierSegment.cs
- SqlDataReader.cs
- AddressHeaderCollectionElement.cs
- MediaPlayerState.cs
- TextBox.cs
- CompoundFileIOPermission.cs
- ToolStripDropDown.cs
- FreezableCollection.cs
- SafeThreadHandle.cs
- ConfigurationManagerHelper.cs
- DnsEndpointIdentity.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ConfigurationStrings.cs
- ListenDesigner.cs
- FamilyMapCollection.cs
- DocumentApplicationJournalEntry.cs
- SynchronizationLockException.cs
- ProfileService.cs
- FieldToken.cs
- CacheSection.cs
- CapabilitiesSection.cs
- ThicknessKeyFrameCollection.cs
- XPathChildIterator.cs
- DataGridBoundColumn.cs
- OAVariantLib.cs
- RemoteCryptoRsaServiceProvider.cs
- XmlDataDocument.cs
- SystemIPAddressInformation.cs
- AnnotationMap.cs
- WebPartMinimizeVerb.cs
- MtomMessageEncodingElement.cs
- XmlQueryStaticData.cs
- CaseStatement.cs
- DrawingVisual.cs
- EventMemberCodeDomSerializer.cs
- EffectiveValueEntry.cs
- ListViewEditEventArgs.cs
- AdPostCacheSubstitution.cs
- SessionStateItemCollection.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- InvalidChannelBindingException.cs
- BamlMapTable.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- _AcceptOverlappedAsyncResult.cs
- DocumentsTrace.cs
- XmlDictionaryString.cs
- PolicyStatement.cs
- AddingNewEventArgs.cs
- LineProperties.cs
- WebPartsPersonalization.cs
- BinaryReader.cs
- SimplePropertyEntry.cs
- SchemaAttDef.cs
- ImageFormatConverter.cs
- EntityDataSourceChangingEventArgs.cs
- DataGridViewCellStateChangedEventArgs.cs
- FragmentQuery.cs
- UnsignedPublishLicense.cs
- LocalFileSettingsProvider.cs
- ApplicationContext.cs
- View.cs
- wgx_sdk_version.cs
- StateMachineWorkflowDesigner.cs
- PolyQuadraticBezierSegment.cs
- MaterializeFromAtom.cs
- ObjectListFieldsPage.cs
- ServiceModelConfigurationSectionCollection.cs
- RawStylusInput.cs
- EdmTypeAttribute.cs
- PropertyInformationCollection.cs
- OdbcConnectionPoolProviderInfo.cs
- SqlDataSourceCustomCommandEditor.cs
- MetadataItem.cs
- BinaryExpression.cs
- XmlSchema.cs
- Overlapped.cs
- ReadOnlyHierarchicalDataSourceView.cs
- TableLayoutColumnStyleCollection.cs
- BrowserCapabilitiesCodeGenerator.cs
- RealizedColumnsBlock.cs
- PreservationFileReader.cs
- XmlSortKey.cs
- PanelDesigner.cs
- UserControl.cs