Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UIElementPropertyUndoUnit.cs
- DesignerOptions.cs
- EdmTypeAttribute.cs
- ButtonBase.cs
- ZipIOExtraFieldPaddingElement.cs
- PreDigestedSignedInfo.cs
- SqlStream.cs
- CharEntityEncoderFallback.cs
- Int32CollectionValueSerializer.cs
- HttpCacheVary.cs
- CreateUserWizardStep.cs
- SplitterCancelEvent.cs
- HttpWebRequest.cs
- DependencyPropertyConverter.cs
- SQLInt16.cs
- QueryTask.cs
- XpsFilter.cs
- HeaderedItemsControl.cs
- ErrorStyle.cs
- StringConverter.cs
- StoreContentChangedEventArgs.cs
- ImageCodecInfo.cs
- ConfigurationManagerHelper.cs
- JsonFormatGeneratorStatics.cs
- IsolationInterop.cs
- TaiwanLunisolarCalendar.cs
- InkPresenter.cs
- PropertyChangedEventManager.cs
- LicenseProviderAttribute.cs
- GenericParameterDataContract.cs
- TrustManagerMoreInformation.cs
- ToolStripKeyboardHandlingService.cs
- ReflectEventDescriptor.cs
- XmlWriter.cs
- Geometry3D.cs
- FixedSOMPageConstructor.cs
- DATA_BLOB.cs
- WeakEventTable.cs
- IndentedWriter.cs
- CompressedStack.cs
- ReceiveContext.cs
- IpcChannelHelper.cs
- SamlNameIdentifierClaimResource.cs
- EventMappingSettings.cs
- ValueUnavailableException.cs
- OdbcUtils.cs
- CompiledXpathExpr.cs
- SetStoryboardSpeedRatio.cs
- ObjectViewQueryResultData.cs
- InspectionWorker.cs
- Choices.cs
- NotFiniteNumberException.cs
- SudsParser.cs
- ToolStripDropDownClosingEventArgs.cs
- ImplicitInputBrush.cs
- SqlDataSourceAdvancedOptionsForm.cs
- WorkerRequest.cs
- EntityDataSourceEntitySetNameItem.cs
- SqlTriggerAttribute.cs
- TdsParserSafeHandles.cs
- SqlCacheDependencyDatabase.cs
- TextSegment.cs
- PenLineCapValidation.cs
- RemoteArgument.cs
- FieldBuilder.cs
- CollectionViewGroupRoot.cs
- BlurEffect.cs
- AssemblyName.cs
- WindowProviderWrapper.cs
- ResXResourceReader.cs
- RangeValuePatternIdentifiers.cs
- GregorianCalendarHelper.cs
- QueryInterceptorAttribute.cs
- entityreference_tresulttype.cs
- MimeTypeMapper.cs
- ReliabilityContractAttribute.cs
- RSAPKCS1SignatureFormatter.cs
- ManualResetEvent.cs
- Hyperlink.cs
- BooleanSwitch.cs
- DbProviderFactoriesConfigurationHandler.cs
- BindingContext.cs
- ResXResourceReader.cs
- ErrorTableItemStyle.cs
- DrawTreeNodeEventArgs.cs
- SQLInt64.cs
- BoundsDrawingContextWalker.cs
- ImageButton.cs
- BamlLocalizabilityResolver.cs
- NodeLabelEditEvent.cs
- cryptoapiTransform.cs
- UnsafeNativeMethods.cs
- RelatedCurrencyManager.cs
- FontDriver.cs
- VisualStyleElement.cs
- VirtualDirectoryMappingCollection.cs
- EventInfo.cs
- RecognitionResult.cs
- LinqToSqlWrapper.cs
- EventProviderWriter.cs