Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / DebugEngine / ProgramNode.cs / 1305376 / ProgramNode.cs
// Copyright (c) Microsoft Corp., 2004. All rights reserved. #region Using directives using System; using System.Threading; using System.Reflection; using System.Runtime.InteropServices; #endregion namespace System.Workflow.Runtime.DebugEngine { internal sealed class ProgramNode : IWDEProgramNode { private DebugController controller; public ProgramNode(DebugController controller) { this.controller = controller; } void IWDEProgramNode.Attach(ref Guid programId, int attachTimeout, int detachPingInterval, out string hostName, out string uri, out int controllerThreadId, out bool isSynchronousAttach) { this.controller.Attach(programId, attachTimeout, detachPingInterval, out hostName, out uri, out controllerThreadId, out isSynchronousAttach); } } [ComImport(), Guid(Guids.IID_IWDEProgramNode), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] internal interface IWDEProgramNode { void Attach(ref Guid programId, int attachTimeout, int detachPingInterval, [Out, MarshalAs(UnmanagedType.BStr)] out string hostName, [Out, MarshalAs(UnmanagedType.BStr)] out string uri, [Out] out int controllerThreadId, [Out, MarshalAs(UnmanagedType.Bool)] out bool isSynchronousAttach); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. // Copyright (c) Microsoft Corp., 2004. All rights reserved. #region Using directives using System; using System.Threading; using System.Reflection; using System.Runtime.InteropServices; #endregion namespace System.Workflow.Runtime.DebugEngine { internal sealed class ProgramNode : IWDEProgramNode { private DebugController controller; public ProgramNode(DebugController controller) { this.controller = controller; } void IWDEProgramNode.Attach(ref Guid programId, int attachTimeout, int detachPingInterval, out string hostName, out string uri, out int controllerThreadId, out bool isSynchronousAttach) { this.controller.Attach(programId, attachTimeout, detachPingInterval, out hostName, out uri, out controllerThreadId, out isSynchronousAttach); } } [ComImport(), Guid(Guids.IID_IWDEProgramNode), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] internal interface IWDEProgramNode { void Attach(ref Guid programId, int attachTimeout, int detachPingInterval, [Out, MarshalAs(UnmanagedType.BStr)] out string hostName, [Out, MarshalAs(UnmanagedType.BStr)] out string uri, [Out] out int controllerThreadId, [Out, MarshalAs(UnmanagedType.Bool)] out bool isSynchronousAttach); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventNotify.cs
- FolderBrowserDialog.cs
- AssociationEndMember.cs
- FileUtil.cs
- CellConstant.cs
- TextSelectionHelper.cs
- BaseComponentEditor.cs
- BinaryParser.cs
- ValidationSummary.cs
- _SpnDictionary.cs
- sqlmetadatafactory.cs
- Span.cs
- ValueTypeFixupInfo.cs
- DataSourceControl.cs
- StreamGeometryContext.cs
- RSAOAEPKeyExchangeFormatter.cs
- ScanQueryOperator.cs
- Mappings.cs
- StringToken.cs
- Keyboard.cs
- CompilationAssemblyInstallComponent.cs
- HashFinalRequest.cs
- DataErrorValidationRule.cs
- WebControlParameterProxy.cs
- OutputBuffer.cs
- HotSpotCollectionEditor.cs
- CancellationHandler.cs
- BooleanFacetDescriptionElement.cs
- TemplateControlParser.cs
- ReferenceEqualityComparer.cs
- EventSetter.cs
- XmlIncludeAttribute.cs
- LogRecordSequence.cs
- StorageModelBuildProvider.cs
- OrderedDictionary.cs
- TextAdaptor.cs
- ReadOnlyPermissionSet.cs
- ChildTable.cs
- FormsAuthenticationUser.cs
- SQLInt32.cs
- arclist.cs
- _emptywebproxy.cs
- WindowInteractionStateTracker.cs
- DiffuseMaterial.cs
- TypeBuilderInstantiation.cs
- ClassicBorderDecorator.cs
- DataBoundControlHelper.cs
- Convert.cs
- SiteMapDataSource.cs
- ResponseBodyWriter.cs
- Timeline.cs
- DataGridColumnHeader.cs
- TdsParserStaticMethods.cs
- LocatorPartList.cs
- LineInfo.cs
- FormViewDeletedEventArgs.cs
- ConnectionManagementSection.cs
- EditCommandColumn.cs
- SemanticResultKey.cs
- DataGridViewCellStyle.cs
- XmlSchemaObjectTable.cs
- XPathArrayIterator.cs
- XmlSchemaSimpleTypeList.cs
- NavigationPropertyEmitter.cs
- Boolean.cs
- Connector.cs
- ClientScriptManagerWrapper.cs
- Ops.cs
- BufferModeSettings.cs
- EntityProviderServices.cs
- WebPartConnectionsEventArgs.cs
- PlatformCulture.cs
- CommandID.cs
- thaishape.cs
- OdbcDataReader.cs
- SoapSchemaExporter.cs
- CssStyleCollection.cs
- ComponentEvent.cs
- ScrollableControl.cs
- HandlerWithFactory.cs
- _HeaderInfo.cs
- Binding.cs
- SqlClientMetaDataCollectionNames.cs
- DataTableTypeConverter.cs
- PerfCounters.cs
- CheckBox.cs
- AdapterDictionary.cs
- SiteMapDataSource.cs
- ProtocolsConfiguration.cs
- ViewDesigner.cs
- XmlDocumentFragment.cs
- XPathMultyIterator.cs
- DataSourceCache.cs
- ComIntegrationManifestGenerator.cs
- EntityReference.cs
- ProgressChangedEventArgs.cs
- MetabaseServerConfig.cs
- PageRanges.cs
- IndentedWriter.cs
- KeyBinding.cs