Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / ProxyAssemblyNotLoadedException.cs / 1 / ProxyAssemblyNotLoadedException.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Exception thrown when proxy assembly is requried but not yet loaded // // History: // 06/02/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System.Windows.Automation; using System; using System.Text; //using System.Globalization; //using System.Collections; using MS.Internal; //using System.Runtime.InteropServices; using System.Reflection; //using System.Diagnostics; using System.Runtime.Serialization; using System.Security.Permissions; namespace System.Windows.Automation { ////// This exception is thrown when there is a problem laoading a proxy assembly. This can happen /// In reponse to Automation.RegisterProxyAssembly or when loading the default proxies when the /// first hwnd base AutomationElement is encountered. /// [Serializable] #if (INTERNAL_COMPILE) internal class ProxyAssemblyNotLoadedException : Exception #else public class ProxyAssemblyNotLoadedException : Exception #endif { ////// Default constructor /// public ProxyAssemblyNotLoadedException() {} ////// constructor /// /// public ProxyAssemblyNotLoadedException(String message) : base(message) {} ////// constructor /// /// /// public ProxyAssemblyNotLoadedException(string message, Exception innerException) : base(message, innerException) {} ////// Constructor for serialization /// //CASRemoval:[SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter=true)] protected ProxyAssemblyNotLoadedException(SerializationInfo info, StreamingContext context) : base(info, context) {} ////// Populates a SerializationInfo with the data needed to serialize the target object. /// /// The SerializationInfo to populate with data. /// The destination for this serialization. [SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter=true)] public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Exception thrown when proxy assembly is requried but not yet loaded // // History: // 06/02/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System.Windows.Automation; using System; using System.Text; //using System.Globalization; //using System.Collections; using MS.Internal; //using System.Runtime.InteropServices; using System.Reflection; //using System.Diagnostics; using System.Runtime.Serialization; using System.Security.Permissions; namespace System.Windows.Automation { ////// This exception is thrown when there is a problem laoading a proxy assembly. This can happen /// In reponse to Automation.RegisterProxyAssembly or when loading the default proxies when the /// first hwnd base AutomationElement is encountered. /// [Serializable] #if (INTERNAL_COMPILE) internal class ProxyAssemblyNotLoadedException : Exception #else public class ProxyAssemblyNotLoadedException : Exception #endif { ////// Default constructor /// public ProxyAssemblyNotLoadedException() {} ////// constructor /// /// public ProxyAssemblyNotLoadedException(String message) : base(message) {} ////// constructor /// /// /// public ProxyAssemblyNotLoadedException(string message, Exception innerException) : base(message, innerException) {} ////// Constructor for serialization /// //CASRemoval:[SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter=true)] protected ProxyAssemblyNotLoadedException(SerializationInfo info, StreamingContext context) : base(info, context) {} ////// Populates a SerializationInfo with the data needed to serialize the target object. /// /// The SerializationInfo to populate with data. /// The destination for this serialization. [SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter=true)] public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); } } } // 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
- WebDisplayNameAttribute.cs
- BaseTypeViewSchema.cs
- KeyValuePair.cs
- ContractMapping.cs
- ConfigXmlElement.cs
- DbExpressionBuilder.cs
- Marshal.cs
- CompiledXpathExpr.cs
- XmlToDatasetMap.cs
- UnsafeNativeMethods.cs
- Rijndael.cs
- DataGridAddNewRow.cs
- TreeViewImageKeyConverter.cs
- ResourceIDHelper.cs
- CategoryAttribute.cs
- RtfNavigator.cs
- FactoryId.cs
- JsonReaderDelegator.cs
- URI.cs
- ClientTargetSection.cs
- LineGeometry.cs
- LayoutEditorPart.cs
- CollaborationHelperFunctions.cs
- FrameworkContentElement.cs
- SqlCommandAsyncResult.cs
- MemoryStream.cs
- MergeFailedEvent.cs
- RepeaterDataBoundAdapter.cs
- DesignSurfaceCollection.cs
- PeerContact.cs
- CompilationLock.cs
- DiagnosticTrace.cs
- Rotation3DKeyFrameCollection.cs
- RemotingSurrogateSelector.cs
- UnaryExpression.cs
- Nodes.cs
- PasswordTextContainer.cs
- ButtonDesigner.cs
- DbReferenceCollection.cs
- IODescriptionAttribute.cs
- SimpleBitVector32.cs
- CharEnumerator.cs
- GridItem.cs
- Sequence.cs
- NamedServiceModelExtensionCollectionElement.cs
- AppSecurityManager.cs
- TrustLevelCollection.cs
- Vector.cs
- DBCSCodePageEncoding.cs
- SerializerWriterEventHandlers.cs
- ParameterCollectionEditor.cs
- DebugManager.cs
- ButtonChrome.cs
- log.cs
- HttpConfigurationContext.cs
- WebPartCloseVerb.cs
- Span.cs
- GlyphingCache.cs
- TemplateApplicationHelper.cs
- TableRowCollection.cs
- SecurityKeyType.cs
- PermissionToken.cs
- SchemaCreator.cs
- ConvertTextFrag.cs
- LinkLabel.cs
- XmlLangPropertyAttribute.cs
- HtmlInputText.cs
- RightsManagementPermission.cs
- HttpRequestCacheValidator.cs
- TableCell.cs
- DictionaryEditChange.cs
- DomainLiteralReader.cs
- OdbcConnection.cs
- LineBreak.cs
- UnknownWrapper.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- Effect.cs
- ListView.cs
- TransformCollection.cs
- NameSpaceExtractor.cs
- CodeTypeMember.cs
- EntityDataSourceContextCreatingEventArgs.cs
- FrugalMap.cs
- AttributeSetAction.cs
- SoapCodeExporter.cs
- ResourcePermissionBase.cs
- InvalidProgramException.cs
- DataGridViewElement.cs
- StreamUpdate.cs
- Emitter.cs
- ClientEventManager.cs
- HiddenField.cs
- SqlMethodCallConverter.cs
- ImageList.cs
- HttpListener.cs
- FilteredDataSetHelper.cs
- Group.cs
- RoutedEventValueSerializer.cs
- odbcmetadatafactory.cs
- DatePicker.cs