Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / UIAutomationClient / System / Windows / Automation / ClientSettings.cs / 1 / ClientSettings.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
//
// Description: Facade class that contains client configutation options (eg. proxies)
//
//---------------------------------------------------------------------------
using System.Windows.Automation;
using System;
using System.Runtime.InteropServices;
using System.Security.Permissions;
using System.Reflection;
using System.Diagnostics;
using MS.Internal.Automation;
using MS.Win32;
namespace System.Windows.Automation
{
///
/// Class containing methods for configuring UIAutomation.
///
#if (INTERNAL_COMPILE)
internal static class ClientSettings
#else
public static class ClientSettings
#endif
{
//-----------------------------------------------------
//
// Public Methods
//
//-----------------------------------------------------
#region Public Methods
#region Proxies / Client-side providers
///
/// Load client-side providers from specified assembly
///
///
/// Specifies the assembly to load client-side providers from.
///
public static void RegisterClientSideProviderAssembly(AssemblyName assemblyName)
{
Misc.ValidateArgumentNonNull( assemblyName, "assemblyName" );
ProxyManager.RegisterProxyAssembly( assemblyName );
}
///
/// Register client-side providers to use on HWND-based controls.
///
/// Array of ClientSideProviderDescription structs that specify window class names and factory delegate
public static void RegisterClientSideProviders(ClientSideProviderDescription[] clientSideProviderDescription)
{
Misc.ValidateArgumentNonNull(clientSideProviderDescription, "clientSideProviderDescription ");
ProxyManager.RegisterWindowHandlers(clientSideProviderDescription);
}
#endregion Proxies / Client-side providers
#endregion Public Methods
}
}
// 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
- ProviderSettingsCollection.cs
- MetadataItem.cs
- COM2PropertyPageUITypeConverter.cs
- SchemaName.cs
- PtsContext.cs
- CustomErrorCollection.cs
- JournalEntry.cs
- MimeMapping.cs
- SchemaImporterExtensionElementCollection.cs
- PerfCounters.cs
- FormViewInsertedEventArgs.cs
- LayoutInformation.cs
- AddInProcess.cs
- AssociativeAggregationOperator.cs
- ProtocolState.cs
- RectangleGeometry.cs
- ToolStripOverflow.cs
- JulianCalendar.cs
- DomainUpDown.cs
- XmlTypeMapping.cs
- Command.cs
- ZipIOLocalFileBlock.cs
- DataList.cs
- ContentFilePart.cs
- FrameworkRichTextComposition.cs
- InputProcessorProfilesLoader.cs
- KnownTypeAttribute.cs
- StringOutput.cs
- UserControlCodeDomTreeGenerator.cs
- CalendarKeyboardHelper.cs
- WindowsGraphics2.cs
- SerializableAuthorizationContext.cs
- RowsCopiedEventArgs.cs
- XPathAncestorQuery.cs
- Rule.cs
- RuleSettingsCollection.cs
- VerificationException.cs
- HtmlInputCheckBox.cs
- LoginUtil.cs
- WebPartConnectionsCancelVerb.cs
- IndexOutOfRangeException.cs
- CurrentTimeZone.cs
- PolicyStatement.cs
- XmlNode.cs
- EnumType.cs
- EditorZoneBase.cs
- XPathNodeHelper.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- TextSelectionHighlightLayer.cs
- SoundPlayer.cs
- SecondaryViewProvider.cs
- ContainerUIElement3D.cs
- ErrorTableItemStyle.cs
- TextPenaltyModule.cs
- PathFigure.cs
- BufferModesCollection.cs
- Set.cs
- ToolboxSnapDragDropEventArgs.cs
- FixedTextPointer.cs
- DecimalSumAggregationOperator.cs
- ResourceAssociationSet.cs
- TimerElapsedEvenArgs.cs
- ListControlConvertEventArgs.cs
- EditCommandColumn.cs
- OleDbTransaction.cs
- MenuAutoFormat.cs
- Int32CollectionConverter.cs
- TimerTable.cs
- AbandonedMutexException.cs
- ServiceDesigner.cs
- XmlElementAttribute.cs
- TextEffect.cs
- CreationContext.cs
- EntityDataSourceValidationException.cs
- Color.cs
- JapaneseLunisolarCalendar.cs
- ProjectionPruner.cs
- TagPrefixCollection.cs
- UnsafePeerToPeerMethods.cs
- SchemaReference.cs
- CommonProperties.cs
- ZipFileInfo.cs
- IndexerNameAttribute.cs
- ComplexBindingPropertiesAttribute.cs
- KeyMatchBuilder.cs
- RSAPKCS1SignatureFormatter.cs
- ValidationException.cs
- AssemblySettingAttributes.cs
- WindowsStatic.cs
- Span.cs
- ToolStripItemRenderEventArgs.cs
- LockRecursionException.cs
- DelayedRegex.cs
- TraceLevelStore.cs
- StringKeyFrameCollection.cs
- _NTAuthentication.cs
- RequestCacheEntry.cs
- HttpResponseWrapper.cs
- EdmSchemaAttribute.cs
- Int32Rect.cs