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
- CookieProtection.cs
- CodeNamespace.cs
- LocalIdKeyIdentifierClause.cs
- AuditLog.cs
- GrowingArray.cs
- WebServiceErrorEvent.cs
- CommonGetThemePartSize.cs
- TypeListConverter.cs
- OptionUsage.cs
- FixUp.cs
- StrokeNodeEnumerator.cs
- MoveSizeWinEventHandler.cs
- CryptoApi.cs
- Size3D.cs
- templategroup.cs
- XmlAttributeOverrides.cs
- MarkupExtensionParser.cs
- SqlVisitor.cs
- PageParserFilter.cs
- LogReserveAndAppendState.cs
- AudioDeviceOut.cs
- SamlSecurityToken.cs
- SchemaTableColumn.cs
- ListViewAutomationPeer.cs
- SymbolUsageManager.cs
- ToolboxDataAttribute.cs
- Divide.cs
- ComboBoxRenderer.cs
- GeneralTransform3DTo2DTo3D.cs
- SafeProcessHandle.cs
- ModelEditingScope.cs
- FieldNameLookup.cs
- SoapSchemaExporter.cs
- BindingCompleteEventArgs.cs
- PartialClassGenerationTaskInternal.cs
- WebPart.cs
- HttpCookieCollection.cs
- AddInDeploymentState.cs
- Visual3D.cs
- TimeManager.cs
- TextOutput.cs
- HeaderedItemsControl.cs
- SafeLibraryHandle.cs
- DesigntimeLicenseContextSerializer.cs
- ChannelSinkStacks.cs
- MatchAllMessageFilter.cs
- ObjectContext.cs
- KeyedHashAlgorithm.cs
- PeerObject.cs
- DesignerCommandAdapter.cs
- ColumnMap.cs
- ISFTagAndGuidCache.cs
- OleDbConnectionFactory.cs
- WebSysDefaultValueAttribute.cs
- ConfigurationSchemaErrors.cs
- RightsManagementEncryptionTransform.cs
- PropertyMapper.cs
- KeyMatchBuilder.cs
- NoneExcludedImageIndexConverter.cs
- AuthenticationService.cs
- CodeSpit.cs
- ObjectDataSourceEventArgs.cs
- IUnknownConstantAttribute.cs
- DependencyPropertyKind.cs
- XmlTextReader.cs
- DataGridViewControlCollection.cs
- VectorCollectionConverter.cs
- IncrementalHitTester.cs
- CompilationLock.cs
- Latin1Encoding.cs
- ContentPlaceHolder.cs
- DataGridAddNewRow.cs
- DocumentSchemaValidator.cs
- TypedTableBase.cs
- DataGridViewRowStateChangedEventArgs.cs
- ConfigurationLocation.cs
- StorageComplexTypeMapping.cs
- ParameterModifier.cs
- SecurityRuntime.cs
- AppSettingsSection.cs
- GenericUriParser.cs
- EventMappingSettings.cs
- XmlSchemaExporter.cs
- StreamGeometry.cs
- DataSvcMapFileSerializer.cs
- ErrorStyle.cs
- ProxyWebPartConnectionCollection.cs
- DnsPermission.cs
- ScriptResourceAttribute.cs
- SchemaMerger.cs
- UnknownWrapper.cs
- AsyncCompletedEventArgs.cs
- Point.cs
- UriSection.cs
- SurrogateDataContract.cs
- PreviewPageInfo.cs
- Label.cs
- DeflateStreamAsyncResult.cs
- CommandBindingCollection.cs
- SoapHttpTransportImporter.cs