Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / Microsoft / Win32 / UserPreferenceChangingEventArgs.cs / 1305376 / UserPreferenceChangingEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace Microsoft.Win32 {
using System;
using System.Diagnostics;
using System.Security.Permissions;
///
/// Provides data for the event.
///
[HostProtectionAttribute(MayLeakOnAbort = true)]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name = "FullTrust")]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]
public class UserPreferenceChangingEventArgs : EventArgs {
private readonly UserPreferenceCategory category;
///
/// Initializes a new instance of the class.
///
public UserPreferenceChangingEventArgs(UserPreferenceCategory category) {
this.category = category;
}
///
/// Gets the category of user preferences that has Changing.
///
public UserPreferenceCategory Category {
get {
return category;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace Microsoft.Win32 {
using System;
using System.Diagnostics;
using System.Security.Permissions;
///
/// Provides data for the event.
///
[HostProtectionAttribute(MayLeakOnAbort = true)]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name = "FullTrust")]
[System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]
public class UserPreferenceChangingEventArgs : EventArgs {
private readonly UserPreferenceCategory category;
///
/// Initializes a new instance of the class.
///
public UserPreferenceChangingEventArgs(UserPreferenceCategory category) {
this.category = category;
}
///
/// Gets the category of user preferences that has Changing.
///
public UserPreferenceCategory Category {
get {
return category;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SizeKeyFrameCollection.cs
- SqlConnectionManager.cs
- brushes.cs
- RuleSetCollection.cs
- TextStore.cs
- Property.cs
- EventSetterHandlerConverter.cs
- WindowInteractionStateTracker.cs
- AnnotationMap.cs
- DoubleLinkList.cs
- DelegatingConfigHost.cs
- StackOverflowException.cs
- XhtmlStyleClass.cs
- _CacheStreams.cs
- ServiceReference.cs
- HttpResponse.cs
- DrawingState.cs
- BaseParser.cs
- DataGridViewHitTestInfo.cs
- FixedTextSelectionProcessor.cs
- GeneratedCodeAttribute.cs
- ScrollViewer.cs
- OrderedDictionaryStateHelper.cs
- XmlSchemaSimpleContentExtension.cs
- ActiveXHost.cs
- Utilities.cs
- Pen.cs
- ACL.cs
- SettingsSection.cs
- DomNameTable.cs
- UpdateException.cs
- InProcStateClientManager.cs
- SelectionProcessor.cs
- ConfigXmlSignificantWhitespace.cs
- DataSvcMapFile.cs
- RuntimeEnvironment.cs
- OutputCacheSettings.cs
- StreamGeometry.cs
- CharUnicodeInfo.cs
- GeneralTransform3D.cs
- GridViewColumnCollectionChangedEventArgs.cs
- PrimaryKeyTypeConverter.cs
- PrintingPermission.cs
- Matrix.cs
- loginstatus.cs
- TraceHandler.cs
- cookiecontainer.cs
- TypeBuilderInstantiation.cs
- XPathParser.cs
- AvTraceDetails.cs
- SwitchDesigner.xaml.cs
- ErrorRuntimeConfig.cs
- BufferedStream.cs
- KnownTypesHelper.cs
- TableSectionStyle.cs
- CreateDataSourceDialog.cs
- QueryResultOp.cs
- SamlAuthorizationDecisionClaimResource.cs
- UInt32.cs
- NavigationFailedEventArgs.cs
- GenericsInstances.cs
- LabelEditEvent.cs
- ResourceReader.cs
- PublisherMembershipCondition.cs
- EdmSchemaError.cs
- TdsRecordBufferSetter.cs
- BindingBase.cs
- ListenerConfig.cs
- CodeTypeDeclarationCollection.cs
- SHA256CryptoServiceProvider.cs
- DynamicEndpointElement.cs
- ListComponentEditor.cs
- ScrollEventArgs.cs
- ContainerParaClient.cs
- SimplePropertyEntry.cs
- DataBindingHandlerAttribute.cs
- IndexingContentUnit.cs
- FunctionImportElement.cs
- HttpCookiesSection.cs
- ClipboardProcessor.cs
- Pair.cs
- DiscoveryClientProtocol.cs
- PanelDesigner.cs
- XmlWellformedWriterHelpers.cs
- CollectionBase.cs
- Classification.cs
- AutomationPatternInfo.cs
- BufferModesCollection.cs
- EntitySetBase.cs
- ActivityTrace.cs
- ModelItemCollectionImpl.cs
- StringConverter.cs
- BoolExpressionVisitors.cs
- DocumentPage.cs
- ShaderEffect.cs
- SecurityManager.cs
- RubberbandSelector.cs
- ObjectQueryState.cs
- PropertyItem.cs
- contentDescriptor.cs