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
- HttpResponseHeader.cs
- CodeVariableReferenceExpression.cs
- RoleManagerSection.cs
- DocumentPageView.cs
- BuildResult.cs
- StringWriter.cs
- DESCryptoServiceProvider.cs
- OutputCacheSettingsSection.cs
- __FastResourceComparer.cs
- MaxMessageSizeStream.cs
- PolicyStatement.cs
- TreeNodeCollection.cs
- AnimationLayer.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ByteAnimationBase.cs
- ApplicationDirectory.cs
- Attachment.cs
- TextReader.cs
- PermissionListSet.cs
- TextElementEnumerator.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- PrincipalPermission.cs
- CqlWriter.cs
- UrlMappingsSection.cs
- XmlNodeReader.cs
- XmlWrappingReader.cs
- XmlSerializerSection.cs
- TreeNodeBinding.cs
- CollectionViewSource.cs
- SourceSwitch.cs
- ObjectConverter.cs
- ObjectDataSource.cs
- NavigatorOutput.cs
- ToolStripTextBox.cs
- FloaterBaseParagraph.cs
- ListViewInsertEventArgs.cs
- SoundPlayerAction.cs
- TreeViewEvent.cs
- TagMapInfo.cs
- TypeForwardedToAttribute.cs
- SQLInt32.cs
- MLangCodePageEncoding.cs
- PointConverter.cs
- PowerStatus.cs
- Itemizer.cs
- EntityDataSourceView.cs
- CipherData.cs
- ToolStripPanelRow.cs
- BindingContext.cs
- CompiledScopeCriteria.cs
- OdbcStatementHandle.cs
- ExtentCqlBlock.cs
- HttpResponseHeader.cs
- CmsInterop.cs
- TextProperties.cs
- _NTAuthentication.cs
- XmlLangPropertyAttribute.cs
- DataTableReaderListener.cs
- Rectangle.cs
- Codec.cs
- PartitionResolver.cs
- BinHexEncoder.cs
- ParserExtension.cs
- Operator.cs
- OutputCacheSection.cs
- XmlSchemaObjectCollection.cs
- XmlCharCheckingWriter.cs
- WebPartMovingEventArgs.cs
- DataBindingList.cs
- NativeCppClassAttribute.cs
- GradientBrush.cs
- StringFreezingAttribute.cs
- MimeTextImporter.cs
- ToolboxComponentsCreatingEventArgs.cs
- InvokePattern.cs
- QueryCacheKey.cs
- WebScriptServiceHostFactory.cs
- ConnectionStringsSection.cs
- SystemInfo.cs
- DataPointer.cs
- BufferBuilder.cs
- Token.cs
- FileLogRecordEnumerator.cs
- DetailsViewInsertedEventArgs.cs
- DocumentationServerProtocol.cs
- Size3DValueSerializer.cs
- TextRunCacheImp.cs
- XmlSignatureManifest.cs
- NativeObjectSecurity.cs
- AspNetHostingPermission.cs
- DataBoundControl.cs
- ExpandSegmentCollection.cs
- OracleCommandSet.cs
- XmlEnumAttribute.cs
- IResourceProvider.cs
- SequenceDesignerAccessibleObject.cs
- AudioException.cs
- FixUp.cs
- StylusPointPropertyId.cs
- NetworkStream.cs