Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SchemaEntity.cs
- ProgressPage.cs
- BinHexDecoder.cs
- DbExpressionBuilder.cs
- FlowDocumentReader.cs
- ObfuscationAttribute.cs
- RSATokenProvider.cs
- DescendantOverDescendantQuery.cs
- CodeDelegateInvokeExpression.cs
- PropertyValueUIItem.cs
- PanelContainerDesigner.cs
- SoapAttributes.cs
- ProxyHelper.cs
- UnaryExpression.cs
- VectorCollectionConverter.cs
- WizardStepBase.cs
- ValidationHelpers.cs
- oledbmetadatacollectionnames.cs
- GridViewDeleteEventArgs.cs
- System.Data_BID.cs
- Fonts.cs
- TypeSystemHelpers.cs
- TextRunProperties.cs
- TrackBarRenderer.cs
- MonitoringDescriptionAttribute.cs
- RequiredAttributeAttribute.cs
- Typography.cs
- IntranetCredentialPolicy.cs
- ImpersonationContext.cs
- VoiceInfo.cs
- CodeComment.cs
- MetadataExchangeClient.cs
- OletxCommittableTransaction.cs
- ControlTemplate.cs
- HtmlTextArea.cs
- DynamicPropertyHolder.cs
- EnterpriseServicesHelper.cs
- RealProxy.cs
- FlowDocumentReader.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- FormViewUpdatedEventArgs.cs
- WindowsToolbarAsMenu.cs
- WebColorConverter.cs
- RuleSetBrowserDialog.cs
- PartitionedStreamMerger.cs
- RequestCacheEntry.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ExtractorMetadata.cs
- RestClientProxyHandler.cs
- InternalDuplexBindingElement.cs
- SqlAggregateChecker.cs
- XamlClipboardData.cs
- FragmentQuery.cs
- CompressStream.cs
- DropAnimation.xaml.cs
- oledbmetadatacolumnnames.cs
- KeyFrames.cs
- DbConnectionPoolGroupProviderInfo.cs
- OpenFileDialog.cs
- TimeIntervalCollection.cs
- OdbcDataAdapter.cs
- Adorner.cs
- CheckoutException.cs
- CachedPathData.cs
- SafeCryptoHandles.cs
- AllMembershipCondition.cs
- CheckableControlBaseAdapter.cs
- CodeDirectiveCollection.cs
- DbProviderManifest.cs
- EventProviderWriter.cs
- SqlWebEventProvider.cs
- BitmapEffectRenderDataResource.cs
- ControlBindingsCollection.cs
- GACIdentityPermission.cs
- DateTimeValueSerializer.cs
- CookielessHelper.cs
- IPHostEntry.cs
- XmlTextReaderImpl.cs
- FreezableDefaultValueFactory.cs
- PermissionToken.cs
- WebControl.cs
- CodeConditionStatement.cs
- Operators.cs
- QilExpression.cs
- ProfileSettings.cs
- TextParaLineResult.cs
- Native.cs
- ClockGroup.cs
- TypedElement.cs
- EmptyEnumerable.cs
- RewritingSimplifier.cs
- MatcherBuilder.cs
- LabelDesigner.cs
- QilScopedVisitor.cs
- OrderedDictionary.cs
- WebHttpBindingCollectionElement.cs
- RoleGroupCollection.cs
- Vector3D.cs
- JumpPath.cs
- QilLoop.cs