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
- ValidatorCompatibilityHelper.cs
- AspNetSynchronizationContext.cs
- PenThread.cs
- X509Utils.cs
- HMACSHA384.cs
- ImageIndexConverter.cs
- CqlIdentifiers.cs
- ReachNamespaceInfo.cs
- Transform3DCollection.cs
- CheckedListBox.cs
- AmbientValueAttribute.cs
- RoutedEventValueSerializer.cs
- UserPersonalizationStateInfo.cs
- ReliabilityContractAttribute.cs
- MediaSystem.cs
- UrlMapping.cs
- CustomWebEventKey.cs
- GlyphCache.cs
- InvalidCastException.cs
- HttpProtocolImporter.cs
- LightweightCodeGenerator.cs
- DataContract.cs
- MetaChildrenColumn.cs
- TemplateEditingVerb.cs
- SelectionProcessor.cs
- RewritingProcessor.cs
- WebBrowser.cs
- BaseProcessProtocolHandler.cs
- SoapObjectInfo.cs
- TagPrefixAttribute.cs
- SessionSwitchEventArgs.cs
- TextSimpleMarkerProperties.cs
- ServiceElement.cs
- CodeCommentStatement.cs
- ContentPresenter.cs
- RegexStringValidator.cs
- MenuStrip.cs
- IconConverter.cs
- ProcessHostMapPath.cs
- MessageHeaderDescriptionCollection.cs
- wgx_sdk_version.cs
- JulianCalendar.cs
- DataSourceCacheDurationConverter.cs
- Floater.cs
- Pen.cs
- RelativeSource.cs
- FacetEnabledSchemaElement.cs
- PrivilegedConfigurationManager.cs
- TrustLevelCollection.cs
- SqlServices.cs
- CellParagraph.cs
- XmlNodeComparer.cs
- StorageScalarPropertyMapping.cs
- BidPrivateBase.cs
- BindableTemplateBuilder.cs
- SmiGettersStream.cs
- ServiceBusyException.cs
- RegexParser.cs
- DetailsViewAutoFormat.cs
- ClipboardData.cs
- XmlWriterTraceListener.cs
- EmptyControlCollection.cs
- XamlGridLengthSerializer.cs
- Size3DConverter.cs
- NativeRightsManagementAPIsStructures.cs
- UserInitiatedRoutedEventPermission.cs
- BitmapMetadataEnumerator.cs
- SyndicationSerializer.cs
- SecurityElementBase.cs
- MarkupCompilePass2.cs
- CreateSequence.cs
- ServiceMemoryGates.cs
- QueryInterceptorAttribute.cs
- XmlHierarchicalDataSourceView.cs
- AtomEntry.cs
- Model3D.cs
- OleDbRowUpdatedEvent.cs
- ConstructorArgumentAttribute.cs
- Dispatcher.cs
- DocumentGrid.cs
- NoResizeSelectionBorderGlyph.cs
- Graphics.cs
- ElementsClipboardData.cs
- EventLogEntry.cs
- ImageButton.cs
- Exceptions.cs
- BackStopAuthenticationModule.cs
- TraceSection.cs
- GridViewItemAutomationPeer.cs
- RegexCompiler.cs
- CollectionChangeEventArgs.cs
- InvokeGenerator.cs
- HttpRuntime.cs
- SystemIPAddressInformation.cs
- XPathArrayIterator.cs
- FileLevelControlBuilderAttribute.cs
- TextView.cs
- HScrollBar.cs
- SessionPageStateSection.cs
- StreamGeometry.cs