Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / Remoting / __TransparentProxy.cs / 1305376 / __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 [System.Security.SecurityCritical /*auto-generated*/] 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 [System.Security.SecurityCritical /*auto-generated*/] 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WpfWebRequestHelper.cs
- BindingListCollectionView.cs
- ComplexTypeEmitter.cs
- XhtmlBasicControlAdapter.cs
- EventLogEntry.cs
- ToolStripArrowRenderEventArgs.cs
- NumericUpDown.cs
- DataSourceGeneratorException.cs
- ImageFormat.cs
- BitmapEffectCollection.cs
- FileChangesMonitor.cs
- RectConverter.cs
- InvalidCastException.cs
- IItemContainerGenerator.cs
- XmlReflectionImporter.cs
- EpmContentSerializerBase.cs
- ModelPerspective.cs
- WindowsSlider.cs
- _AuthenticationState.cs
- TraceData.cs
- PolicyStatement.cs
- JavascriptCallbackBehaviorAttribute.cs
- BuilderElements.cs
- Unit.cs
- EmptyCollection.cs
- AssemblyAssociatedContentFileAttribute.cs
- DataObjectPastingEventArgs.cs
- DataGridViewButtonCell.cs
- EntityViewGenerationAttribute.cs
- System.Data_BID.cs
- CalendarAutoFormatDialog.cs
- ToolboxComponentsCreatingEventArgs.cs
- PartialArray.cs
- Int16Converter.cs
- ToolBarTray.cs
- Literal.cs
- SQLMoney.cs
- ContextDataSourceContextData.cs
- DependencyObjectType.cs
- FixedLineResult.cs
- LinkedResource.cs
- Logging.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ReferenceService.cs
- PresentationTraceSources.cs
- OdbcTransaction.cs
- ExponentialEase.cs
- BmpBitmapDecoder.cs
- TextProperties.cs
- BitmapEffectInput.cs
- Graphics.cs
- ContentPresenter.cs
- HttpsHostedTransportConfiguration.cs
- PassportIdentity.cs
- MessageContractExporter.cs
- HtmlInputButton.cs
- SchemaNames.cs
- ExpressionLexer.cs
- CodeCommentStatement.cs
- SqlDataSourceCommandParser.cs
- BitmapCodecInfoInternal.cs
- SamlAssertion.cs
- UndirectedGraph.cs
- WaveHeader.cs
- ParameterBuilder.cs
- MailHeaderInfo.cs
- InkCanvasFeedbackAdorner.cs
- XmlSchemaException.cs
- ImageDrawing.cs
- UserMapPath.cs
- DataPagerFieldItem.cs
- InlineObject.cs
- QuadTree.cs
- DataTransferEventArgs.cs
- LongCountAggregationOperator.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- PropertyChangingEventArgs.cs
- ZipIOExtraFieldZip64Element.cs
- StylusTip.cs
- DefaultValueAttribute.cs
- HttpCapabilitiesEvaluator.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- HorizontalAlignConverter.cs
- Page.cs
- SimpleHandlerFactory.cs
- GridView.cs
- Vector3DAnimationBase.cs
- WrappedOptions.cs
- ManagedWndProcTracker.cs
- HttpRequest.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- XmlTypeAttribute.cs
- TypeConverterMarkupExtension.cs
- HttpApplicationFactory.cs
- PeerMaintainer.cs
- TdsParserSessionPool.cs
- XmlArrayAttribute.cs
- SoapTransportImporter.cs
- Vector3DAnimationUsingKeyFrames.cs
- MemberInfoSerializationHolder.cs