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
- XsltCompileContext.cs
- XmlSchemaExporter.cs
- TypeDescriptionProviderAttribute.cs
- WmlTextBoxAdapter.cs
- DataGridTable.cs
- SEHException.cs
- SaveFileDialog.cs
- NetDataContractSerializer.cs
- TextAdaptor.cs
- CaretElement.cs
- WebControlsSection.cs
- CircleHotSpot.cs
- GeneralTransform2DTo3D.cs
- ResourceContainer.cs
- NameValuePermission.cs
- GenerateTemporaryTargetAssembly.cs
- UnsafeNativeMethods.cs
- ProtocolsConfiguration.cs
- AnimationStorage.cs
- PolicyStatement.cs
- ErrorProvider.cs
- SchemaAttDef.cs
- DispatcherSynchronizationContext.cs
- UIPropertyMetadata.cs
- SqlTypesSchemaImporter.cs
- SecurityManager.cs
- WebServiceData.cs
- IntSecurity.cs
- EventLogInformation.cs
- WindowsProgressbar.cs
- storepermissionattribute.cs
- XmlSchemaValidationException.cs
- ConstraintManager.cs
- RegisteredScript.cs
- DataRowChangeEvent.cs
- VisualBrush.cs
- DynamicRenderer.cs
- InvalidEnumArgumentException.cs
- DateTimeConstantAttribute.cs
- DescendantQuery.cs
- AbstractDataSvcMapFileLoader.cs
- ExpandedWrapper.cs
- SiteMembershipCondition.cs
- TextBox.cs
- CompModSwitches.cs
- StylusPointCollection.cs
- AnnotationDocumentPaginator.cs
- SendingRequestEventArgs.cs
- Soap.cs
- SqlDataSourceView.cs
- SchemaAttDef.cs
- WebServiceMethodData.cs
- SortExpressionBuilder.cs
- OptimalBreakSession.cs
- TreeNodeStyle.cs
- StaticSiteMapProvider.cs
- DependencySource.cs
- Int32Rect.cs
- RandomNumberGenerator.cs
- CodeAttachEventStatement.cs
- TypefaceCollection.cs
- Variable.cs
- UiaCoreApi.cs
- ErrorHandlerModule.cs
- AppDomainProtocolHandler.cs
- XmlAttributeCollection.cs
- AssemblyFilter.cs
- _ShellExpression.cs
- WmpBitmapEncoder.cs
- CorrelationTokenInvalidatedHandler.cs
- RegexParser.cs
- SingleObjectCollection.cs
- SQLSingle.cs
- DatatypeImplementation.cs
- ResXFileRef.cs
- Range.cs
- DesignTimeTemplateParser.cs
- Thumb.cs
- Message.cs
- MatrixTransform3D.cs
- AttachedAnnotation.cs
- SamlDoNotCacheCondition.cs
- SecurityElement.cs
- SmiMetaDataProperty.cs
- TriState.cs
- CategoryAttribute.cs
- ImageMapEventArgs.cs
- TreeNodeSelectionProcessor.cs
- StateMachineDesignerPaint.cs
- WpfGeneratedKnownTypes.cs
- RedistVersionInfo.cs
- formatter.cs
- XamlVector3DCollectionSerializer.cs
- SmtpFailedRecipientsException.cs
- FtpWebResponse.cs
- ListBindingConverter.cs
- OdbcErrorCollection.cs
- OleDbDataAdapter.cs
- LinqToSqlWrapper.cs
- ConnectorDragDropGlyph.cs