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
- EntityClientCacheEntry.cs
- figurelengthconverter.cs
- RequestTimeoutManager.cs
- PartialArray.cs
- SelectionItemProviderWrapper.cs
- Error.cs
- SyndicationFeed.cs
- SingleObjectCollection.cs
- EFDataModelProvider.cs
- RecordManager.cs
- TextChangedEventArgs.cs
- WebPartCloseVerb.cs
- WebPartHeaderCloseVerb.cs
- SqlClientFactory.cs
- XmlSchemaAll.cs
- Figure.cs
- WindowsListView.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- JsonWriter.cs
- CheckBoxList.cs
- SchemaImporterExtensionsSection.cs
- PeerMaintainer.cs
- GridEntryCollection.cs
- XmlDocumentViewSchema.cs
- ModuleBuilderData.cs
- TreeNodeCollection.cs
- ObfuscationAttribute.cs
- BindingMAnagerBase.cs
- HTTPNotFoundHandler.cs
- CaseInsensitiveOrdinalStringComparer.cs
- OracleParameterBinding.cs
- Buffer.cs
- CodeDirectoryCompiler.cs
- ISAPIWorkerRequest.cs
- NativeMethods.cs
- SID.cs
- TypeDependencyAttribute.cs
- ErrorsHelper.cs
- DBParameter.cs
- PermissionSetTriple.cs
- WeakReferenceList.cs
- BatchStream.cs
- ExternalFile.cs
- HwndStylusInputProvider.cs
- ActiveXHost.cs
- BrowserTree.cs
- BitmapFrame.cs
- LayoutUtils.cs
- DbConnectionPoolCounters.cs
- QilTernary.cs
- ConfigurationManagerHelper.cs
- Profiler.cs
- Point.cs
- ZoneButton.cs
- ComponentDesigner.cs
- PerfCounters.cs
- KerberosReceiverSecurityToken.cs
- ColorTranslator.cs
- VersionedStreamOwner.cs
- MenuBase.cs
- ComponentChangedEvent.cs
- Point.cs
- TemplateBindingExpressionConverter.cs
- XmlSchemaSimpleContentRestriction.cs
- EditorZone.cs
- ToolBar.cs
- XPathScanner.cs
- NumberFormatter.cs
- XsltSettings.cs
- TextBox.cs
- XmlSchemaSequence.cs
- ExcCanonicalXml.cs
- loginstatus.cs
- WebPartActionVerb.cs
- DLinqColumnProvider.cs
- InternalsVisibleToAttribute.cs
- PrtCap_Reader.cs
- PropertyDescriptorGridEntry.cs
- AmbiguousMatchException.cs
- TrustLevel.cs
- HtmlInputText.cs
- TargetInvocationException.cs
- WindowsServiceElement.cs
- ToolStripSplitButton.cs
- SiteMapNodeItem.cs
- basecomparevalidator.cs
- SimpleFileLog.cs
- FunctionDetailsReader.cs
- SR.cs
- MethodAccessException.cs
- BaseCollection.cs
- BitmapCodecInfo.cs
- FrameworkObject.cs
- AttributeData.cs
- ApplicationManager.cs
- XamlStream.cs
- ScalarType.cs
- Rect3D.cs
- TimelineClockCollection.cs
- BamlVersionHeader.cs