Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / ProfileEventArgs.cs / 1305376 / ProfileEventArgs.cs
using System; using System.Collections; using System.Collections.Generic; using System.Workflow.ComponentModel; using System.Runtime.Serialization; using System.Security.Permissions; using System.Workflow.Runtime.Hosting; namespace System.Workflow.Runtime.Tracking { ////// EventArgs for IProfileNotification.ProfileUpdated event. /// public sealed class ProfileUpdatedEventArgs : EventArgs { private TrackingProfile _profile = null; private Type _workflowType = null; public ProfileUpdatedEventArgs() { } public ProfileUpdatedEventArgs(Type workflowType, TrackingProfile profile) { _workflowType = workflowType; _profile = profile; } public TrackingProfile TrackingProfile { get { return _profile; } set { _profile = value; } } public Type WorkflowType { get { return _workflowType; } set { _workflowType = value; } } } ////// EventArgs for IProfileNotification.ProfileRemoved event. /// public sealed class ProfileRemovedEventArgs : EventArgs { private Type _workflowType = null; public ProfileRemovedEventArgs() { } public ProfileRemovedEventArgs(Type workflowType) { _workflowType = workflowType; } public Type WorkflowType { get { return _workflowType; } set { _workflowType = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections; using System.Collections.Generic; using System.Workflow.ComponentModel; using System.Runtime.Serialization; using System.Security.Permissions; using System.Workflow.Runtime.Hosting; namespace System.Workflow.Runtime.Tracking { ////// EventArgs for IProfileNotification.ProfileUpdated event. /// public sealed class ProfileUpdatedEventArgs : EventArgs { private TrackingProfile _profile = null; private Type _workflowType = null; public ProfileUpdatedEventArgs() { } public ProfileUpdatedEventArgs(Type workflowType, TrackingProfile profile) { _workflowType = workflowType; _profile = profile; } public TrackingProfile TrackingProfile { get { return _profile; } set { _profile = value; } } public Type WorkflowType { get { return _workflowType; } set { _workflowType = value; } } } ////// EventArgs for IProfileNotification.ProfileRemoved event. /// public sealed class ProfileRemovedEventArgs : EventArgs { private Type _workflowType = null; public ProfileRemovedEventArgs() { } public ProfileRemovedEventArgs(Type workflowType) { _workflowType = workflowType; } public Type WorkflowType { get { return _workflowType; } set { _workflowType = value; } } } } // 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
- StreamHelper.cs
- PenLineJoinValidation.cs
- HyperLink.cs
- XMLUtil.cs
- SoapSchemaImporter.cs
- DateTimeSerializationSection.cs
- AnimationClockResource.cs
- _ScatterGatherBuffers.cs
- StrokeSerializer.cs
- ToolStripSplitButton.cs
- ViewUtilities.cs
- MetadataCacheItem.cs
- XmlQualifiedName.cs
- ObjectViewListener.cs
- TypeNameHelper.cs
- CodeChecksumPragma.cs
- Inflater.cs
- Pair.cs
- EnlistmentTraceIdentifier.cs
- RichTextBox.cs
- TaiwanLunisolarCalendar.cs
- LocalizableResourceBuilder.cs
- CheckedPointers.cs
- DataStorage.cs
- ValuePatternIdentifiers.cs
- SiteMapDataSourceView.cs
- UnSafeCharBuffer.cs
- Vector3dCollection.cs
- FilteredXmlReader.cs
- PriorityQueue.cs
- NativeCompoundFileAPIs.cs
- ComplusTypeValidator.cs
- CustomAttributeFormatException.cs
- ClrProviderManifest.cs
- TextContainerChangeEventArgs.cs
- AcceleratedTokenProviderState.cs
- XamlToRtfParser.cs
- EncodingFallbackAwareXmlTextWriter.cs
- DesignTimeType.cs
- OdbcDataReader.cs
- CommandBinding.cs
- ObjectMemberMapping.cs
- Parser.cs
- OdbcConnectionOpen.cs
- NativeMethods.cs
- FieldAccessException.cs
- GlyphsSerializer.cs
- ThicknessConverter.cs
- FormViewPagerRow.cs
- WindowShowOrOpenTracker.cs
- safex509handles.cs
- DesignerTextViewAdapter.cs
- XmlLanguage.cs
- LineServices.cs
- ContentWrapperAttribute.cs
- AdapterUtil.cs
- VectorCollectionValueSerializer.cs
- PackagingUtilities.cs
- DataGridViewRowCollection.cs
- HandlerFactoryWrapper.cs
- __ConsoleStream.cs
- ControlAdapter.cs
- ToolStripLocationCancelEventArgs.cs
- StaticResourceExtension.cs
- ResourceDefaultValueAttribute.cs
- RepeatBehavior.cs
- ScriptingSectionGroup.cs
- DataColumnMapping.cs
- SqlConnectionFactory.cs
- RelativeSource.cs
- StructuredType.cs
- ConfigurationConverterBase.cs
- LayoutManager.cs
- OracleParameterBinding.cs
- DataSvcMapFile.cs
- ApplicationSettingsBase.cs
- VisualTreeHelper.cs
- EncryptedType.cs
- TypeDescriptionProvider.cs
- TypeDescriptionProvider.cs
- ObjectSpanRewriter.cs
- WsdlInspector.cs
- Int64Converter.cs
- MessageQueueConverter.cs
- RSAProtectedConfigurationProvider.cs
- CfgParser.cs
- LinqDataSourceHelper.cs
- Material.cs
- SrgsGrammarCompiler.cs
- IPPacketInformation.cs
- TransactionOptions.cs
- SBCSCodePageEncoding.cs
- MachineKeySection.cs
- DataGridClipboardCellContent.cs
- StreamWriter.cs
- PixelFormats.cs
- SortedSetDebugView.cs
- EntityReference.cs
- Trigger.cs
- StrokeNodeData.cs