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
- initElementDictionary.cs
- EntityDataSourceWrapperCollection.cs
- WinInetCache.cs
- SymbolPair.cs
- BadImageFormatException.cs
- BitmapEffectOutputConnector.cs
- FormsAuthenticationTicket.cs
- ExpressionBindings.cs
- DependencyObjectProvider.cs
- Internal.cs
- TemplateField.cs
- HWStack.cs
- TextBoxBase.cs
- SqlComparer.cs
- ChtmlTextWriter.cs
- ContractReference.cs
- XmlCDATASection.cs
- SourceLocationProvider.cs
- RegexCompiler.cs
- __Filters.cs
- InfoCardRSACryptoProvider.cs
- XmlSerializerNamespaces.cs
- ServiceMetadataContractBehavior.cs
- FieldBuilder.cs
- TemplateBuilder.cs
- Attribute.cs
- EntityParameter.cs
- DataPagerFieldCommandEventArgs.cs
- ContextQuery.cs
- WebPartManager.cs
- StructuredTypeEmitter.cs
- _StreamFramer.cs
- ApplicationManager.cs
- TextWriterTraceListener.cs
- ClientSettingsProvider.cs
- WeakHashtable.cs
- TransformerConfigurationWizardBase.cs
- Preprocessor.cs
- ManagedFilter.cs
- EventLogTraceListener.cs
- ObjectStateManager.cs
- EmptyControlCollection.cs
- SqlTrackingQuery.cs
- RealizationDrawingContextWalker.cs
- DllNotFoundException.cs
- AtlasWeb.Designer.cs
- CultureSpecificStringDictionary.cs
- DesignerDataView.cs
- Preprocessor.cs
- MimeObjectFactory.cs
- SystemIPGlobalStatistics.cs
- TdsValueSetter.cs
- _SslSessionsCache.cs
- DrawingAttributeSerializer.cs
- LayoutTable.cs
- DesignTableCollection.cs
- TakeOrSkipWhileQueryOperator.cs
- ButtonBaseAutomationPeer.cs
- DialogResultConverter.cs
- QuadraticEase.cs
- DataGridView.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- RuleSettingsCollection.cs
- SrgsText.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- DesignTableCollection.cs
- IfAction.cs
- Decimal.cs
- RadioButtonBaseAdapter.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- SQLBinary.cs
- AspCompat.cs
- TextLine.cs
- ToolStripLocationCancelEventArgs.cs
- SerializeAbsoluteContext.cs
- WindowAutomationPeer.cs
- Pair.cs
- RowSpanVector.cs
- CodeExpressionCollection.cs
- HandlerFactoryCache.cs
- RemoteHelper.cs
- ProfessionalColors.cs
- TypeReference.cs
- CommandDevice.cs
- MenuItemStyleCollectionEditor.cs
- DragEvent.cs
- PostBackOptions.cs
- TreeIterators.cs
- BindingContext.cs
- XmlTextReaderImpl.cs
- DebugView.cs
- DocumentXPathNavigator.cs
- ButtonBaseAdapter.cs
- TemplateBindingExtensionConverter.cs
- ProfileSettings.cs
- DataGridSortCommandEventArgs.cs
- CqlLexer.cs
- TextRange.cs
- MSAANativeProvider.cs
- BlobPersonalizationState.cs