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
- SmtpTransport.cs
- _ListenerAsyncResult.cs
- ConstrainedDataObject.cs
- WebServiceErrorEvent.cs
- ThemeInfoAttribute.cs
- ServicesUtilities.cs
- TextParentUndoUnit.cs
- Button.cs
- TypeRefElement.cs
- TypeForwardedFromAttribute.cs
- DataPagerField.cs
- WebServiceErrorEvent.cs
- ImageListUtils.cs
- StringValueSerializer.cs
- IteratorDescriptor.cs
- DocumentsTrace.cs
- Html32TextWriter.cs
- ContainerUtilities.cs
- ComplexTypeEmitter.cs
- MimeReflector.cs
- SmtpMail.cs
- SaveWorkflowAsyncResult.cs
- InternalUserCancelledException.cs
- NativeMethodsOther.cs
- EntityClientCacheEntry.cs
- ModelChangedEventArgsImpl.cs
- CaseInsensitiveHashCodeProvider.cs
- ComponentEditorForm.cs
- UDPClient.cs
- JoinCqlBlock.cs
- ContractDescription.cs
- StateItem.cs
- ToolStripDesignerUtils.cs
- DefaultSection.cs
- ImageDrawing.cs
- BaseComponentEditor.cs
- SoapInteropTypes.cs
- TerminatorSinks.cs
- ToolStripProgressBar.cs
- TypeUsageBuilder.cs
- OrderPreservingPipeliningSpoolingTask.cs
- SByteConverter.cs
- WebAdminConfigurationHelper.cs
- ClientSettingsSection.cs
- VersionedStream.cs
- TripleDESCryptoServiceProvider.cs
- Scene3D.cs
- CacheHelper.cs
- SingleKeyFrameCollection.cs
- NotifyParentPropertyAttribute.cs
- DataGridTemplateColumn.cs
- ObjectCacheHost.cs
- EncoderReplacementFallback.cs
- SafeCryptContextHandle.cs
- TextOutput.cs
- AudioFormatConverter.cs
- OracleColumn.cs
- ControlCollection.cs
- RootBuilder.cs
- RepeaterItem.cs
- DbConnectionPoolCounters.cs
- ScrollContentPresenter.cs
- CorrelationManager.cs
- WindowsTab.cs
- InstanceHandleReference.cs
- base64Transforms.cs
- StylusPointPropertyUnit.cs
- UserControlParser.cs
- DeviceContexts.cs
- transactioncontext.cs
- SafeCryptoHandles.cs
- PersianCalendar.cs
- BCLDebug.cs
- ToolStripContextMenu.cs
- FeatureManager.cs
- counter.cs
- IgnorePropertiesAttribute.cs
- CasesDictionary.cs
- SchemaImporterExtensionElementCollection.cs
- CancelRequestedRecord.cs
- CachedPathData.cs
- Point.cs
- HtmlInputPassword.cs
- Size.cs
- WsdlBuildProvider.cs
- UnauthorizedWebPart.cs
- ArrayList.cs
- BitmapEffectDrawingContextWalker.cs
- ServiceDesigner.xaml.cs
- XmlSchemaException.cs
- InternalCache.cs
- SoapCommonClasses.cs
- XPathExpr.cs
- PLINQETWProvider.cs
- input.cs
- ListViewUpdatedEventArgs.cs
- SingleObjectCollection.cs
- SessionStateModule.cs
- MarshalByRefObject.cs
- SectionRecord.cs