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
- InvalidDataContractException.cs
- CorruptStoreException.cs
- TextDecorationCollection.cs
- SessionStateItemCollection.cs
- IOThreadScheduler.cs
- log.cs
- UiaCoreApi.cs
- RecommendedAsConfigurableAttribute.cs
- QueryStringParameter.cs
- WebPartZone.cs
- DefaultProxySection.cs
- FrameworkContentElement.cs
- StylusButtonEventArgs.cs
- EdmItemCollection.cs
- validationstate.cs
- CssStyleCollection.cs
- Imaging.cs
- DataObjectAttribute.cs
- CodeTypeReferenceExpression.cs
- Trigger.cs
- XmlCharCheckingReader.cs
- XmlChoiceIdentifierAttribute.cs
- HyperLinkStyle.cs
- PenContext.cs
- SourceFileBuildProvider.cs
- UIHelper.cs
- XmlAttributeCache.cs
- GcHandle.cs
- Common.cs
- EventLogSession.cs
- TableItemStyle.cs
- ScriptResourceAttribute.cs
- UInt16Storage.cs
- SHA384Managed.cs
- SafeNativeMethods.cs
- TextModifier.cs
- WebPartCancelEventArgs.cs
- QueryableDataSourceView.cs
- Property.cs
- BookmarkCallbackWrapper.cs
- ControlSerializer.cs
- StringTraceRecord.cs
- ModelUIElement3D.cs
- ToolStripDropDownMenu.cs
- HtmlInputCheckBox.cs
- ProtocolsConfigurationEntry.cs
- DocumentationServerProtocol.cs
- EntityModelBuildProvider.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- Wildcard.cs
- GridViewColumnHeaderAutomationPeer.cs
- SqlBuffer.cs
- ToolStripItemClickedEventArgs.cs
- Char.cs
- AppLevelCompilationSectionCache.cs
- RelatedEnd.cs
- GenericEnumConverter.cs
- DateTimeSerializationSection.cs
- SymbolDocumentGenerator.cs
- IndexOutOfRangeException.cs
- ColumnCollection.cs
- ColumnBinding.cs
- GridViewRowEventArgs.cs
- RtfFormatStack.cs
- WindowsStatic.cs
- CheckBox.cs
- DataGridViewCellConverter.cs
- SqlDeflator.cs
- AutoScrollExpandMessageFilter.cs
- DefaultTraceListener.cs
- SerializationHelper.cs
- DataServiceQueryOfT.cs
- BufferAllocator.cs
- TableRow.cs
- GridViewAutoFormat.cs
- CriticalFinalizerObject.cs
- TextTreeUndoUnit.cs
- AutoGeneratedField.cs
- JavaScriptString.cs
- PropertyTab.cs
- CapabilitiesAssignment.cs
- Component.cs
- xmlglyphRunInfo.cs
- CultureMapper.cs
- ScaleTransform.cs
- BackoffTimeoutHelper.cs
- AutomationPeer.cs
- HtmlHead.cs
- MatrixAnimationBase.cs
- SolidBrush.cs
- DataServiceProviderWrapper.cs
- MsmqIntegrationMessageProperty.cs
- EncoderNLS.cs
- RoleGroup.cs
- SmtpNetworkElement.cs
- Trace.cs
- BitVec.cs
- XmlDeclaration.cs
- EraserBehavior.cs
- ControlValuePropertyAttribute.cs