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
- SuppressMergeCheckAttribute.cs
- Win32KeyboardDevice.cs
- XmlAnyAttributeAttribute.cs
- DataRecord.cs
- BitSet.cs
- CmsInterop.cs
- HtmlHead.cs
- FixedHighlight.cs
- MembershipSection.cs
- ScriptComponentDescriptor.cs
- CodeConditionStatement.cs
- SortedDictionary.cs
- MonitorWrapper.cs
- DisplayNameAttribute.cs
- TraversalRequest.cs
- CharStorage.cs
- SparseMemoryStream.cs
- ProxyRpc.cs
- Property.cs
- TreeViewAutomationPeer.cs
- UnorderedHashRepartitionStream.cs
- GeometryModel3D.cs
- ExistsInCollection.cs
- PermissionSetTriple.cs
- EdmProviderManifest.cs
- StringFormat.cs
- Row.cs
- LineServices.cs
- MetaType.cs
- _OSSOCK.cs
- NamespaceDisplay.xaml.cs
- XmlDeclaration.cs
- PrivilegeNotHeldException.cs
- EntityDataSourceWizardForm.cs
- ConvertEvent.cs
- ComponentRenameEvent.cs
- ImageDrawing.cs
- ObjectHelper.cs
- IPHostEntry.cs
- PageContentCollection.cs
- EllipseGeometry.cs
- SatelliteContractVersionAttribute.cs
- UIElementCollection.cs
- ForEachAction.cs
- SRGSCompiler.cs
- SqlClientMetaDataCollectionNames.cs
- COM2PropertyDescriptor.cs
- CodeDirectionExpression.cs
- SmtpReplyReader.cs
- StylusButtonEventArgs.cs
- ProcessThread.cs
- PeerDefaultCustomResolverClient.cs
- CreateUserErrorEventArgs.cs
- Dispatcher.cs
- Effect.cs
- ComponentCache.cs
- SHA512Managed.cs
- PartBasedPackageProperties.cs
- FormViewInsertEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- ColorConvertedBitmapExtension.cs
- GACMembershipCondition.cs
- SmtpClient.cs
- SQlBooleanStorage.cs
- SqlConnectionManager.cs
- MappingMetadataHelper.cs
- Shape.cs
- Misc.cs
- VariableQuery.cs
- SafeReversePInvokeHandle.cs
- SoapProtocolImporter.cs
- IndentedTextWriter.cs
- AsymmetricKeyExchangeDeformatter.cs
- WinFormsComponentEditor.cs
- ChannelListenerBase.cs
- InternalCache.cs
- Roles.cs
- Panel.cs
- CodeChecksumPragma.cs
- ItemsPresenter.cs
- LinqDataSourceInsertEventArgs.cs
- ScrollChrome.cs
- WpfPayload.cs
- DescendentsWalkerBase.cs
- InputElement.cs
- FixedSOMLineCollection.cs
- IISMapPath.cs
- ReachUIElementCollectionSerializer.cs
- DateTimeUtil.cs
- ItemsControl.cs
- Hashtable.cs
- MsmqOutputMessage.cs
- PlainXmlDeserializer.cs
- WindowsSecurityTokenAuthenticator.cs
- SpellCheck.cs
- SmiConnection.cs
- NumericUpDown.cs
- HttpCookiesSection.cs
- Memoizer.cs
- SkinBuilder.cs