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
- LinqToSqlWrapper.cs
- DesignerWidgets.cs
- CounterSetInstance.cs
- JpegBitmapDecoder.cs
- ButtonRenderer.cs
- SimpleMailWebEventProvider.cs
- GatewayIPAddressInformationCollection.cs
- CellConstant.cs
- ScrollBar.cs
- MDIClient.cs
- FlowDocumentView.cs
- IndentedWriter.cs
- CallbackValidator.cs
- TreeViewCancelEvent.cs
- InvokePatternIdentifiers.cs
- ClientCultureInfo.cs
- QuadraticBezierSegment.cs
- AutoResizedEvent.cs
- DescendantQuery.cs
- TakeOrSkipQueryOperator.cs
- DataBoundControlAdapter.cs
- _SSPIWrapper.cs
- XPathNode.cs
- Metafile.cs
- PerformanceCounterCategory.cs
- Hashtable.cs
- CompositeCollection.cs
- SystemInformation.cs
- SQLResource.cs
- DataServiceResponse.cs
- CorrelationScope.cs
- RegistryKey.cs
- PropertyMetadata.cs
- SortAction.cs
- PeerApplicationLaunchInfo.cs
- ValuePattern.cs
- XmlCharCheckingReader.cs
- DeviceSpecific.cs
- ResourcePool.cs
- DiagnosticTrace.cs
- EnumDataContract.cs
- ControlBuilder.cs
- HtmlGenericControl.cs
- FixedPageProcessor.cs
- RowSpanVector.cs
- ProfileInfo.cs
- WebPageTraceListener.cs
- IteratorFilter.cs
- RequestQueue.cs
- ButtonBaseDesigner.cs
- GeometryGroup.cs
- GlyphCollection.cs
- Transform3DCollection.cs
- AssociationEndMember.cs
- Number.cs
- CompositeTypefaceMetrics.cs
- MetabaseServerConfig.cs
- AutomationElement.cs
- EdgeProfileValidation.cs
- QilVisitor.cs
- BooleanKeyFrameCollection.cs
- EntryPointNotFoundException.cs
- LayoutInformation.cs
- Psha1DerivedKeyGeneratorHelper.cs
- EntityProxyTypeInfo.cs
- MessageDecoder.cs
- DataGridViewCellCollection.cs
- AuthenticationService.cs
- GenericUriParser.cs
- PointCollectionConverter.cs
- TypeConverter.cs
- SettingsPropertyCollection.cs
- EventPrivateKey.cs
- OutOfMemoryException.cs
- SynchronizedPool.cs
- MetadataPropertyvalue.cs
- Array.cs
- SelectionItemProviderWrapper.cs
- DesignRelation.cs
- SynchronizedInputHelper.cs
- AssemblyHash.cs
- Point3DCollection.cs
- TextEffect.cs
- RectIndependentAnimationStorage.cs
- RadioButton.cs
- UnicastIPAddressInformationCollection.cs
- AssemblyHash.cs
- EntityDataSourceContextCreatingEventArgs.cs
- DaylightTime.cs
- SiteMapNode.cs
- ProxyElement.cs
- CharUnicodeInfo.cs
- ClientSettingsStore.cs
- DecimalStorage.cs
- Enum.cs
- TagPrefixInfo.cs
- SqlXml.cs
- TreeNodeBindingCollection.cs
- BuildProvider.cs
- HighContrastHelper.cs