Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1305376 / CodeCatchClause.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the statements within the clause. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCatchClause { private CodeStatementCollection statements; private CodeTypeReference catchExceptionType; private string localName; ///Represents a catch exception block. ////// public CodeCatchClause() { } ////// Initializes an instance of ///. /// /// public CodeCatchClause(string localName) { this.localName = localName; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType) { this.localName = localName; this.catchExceptionType = catchExceptionType; } ///[To be supplied.] ////// public CodeCatchClause(string localName, CodeTypeReference catchExceptionType, params CodeStatement[] statements) { this.localName = localName; this.catchExceptionType = catchExceptionType; Statements.AddRange(statements); } ///[To be supplied.] ////// public string LocalName { get { return (localName == null) ? string.Empty: localName; } set { localName = value; } } ///[To be supplied.] ////// public CodeTypeReference CatchExceptionType { get { if (catchExceptionType == null) { catchExceptionType = new CodeTypeReference(typeof(System.Exception)); } return catchExceptionType; } set { catchExceptionType = value; } } ///[To be supplied.] ////// public CodeStatementCollection Statements { get { if (statements == null) { statements = new CodeStatementCollection(); } return statements; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the statements within the clause. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FixedSOMImage.cs
- Win32MouseDevice.cs
- DmlSqlGenerator.cs
- ActivationProxy.cs
- NativeMethods.cs
- MessageQueueEnumerator.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- TabControlDesigner.cs
- MobilePage.cs
- cookieexception.cs
- HostedNamedPipeTransportManager.cs
- DurationConverter.cs
- ColorTypeConverter.cs
- VarRefManager.cs
- DbParameterCollection.cs
- LinqDataSourceContextEventArgs.cs
- MouseEventArgs.cs
- HtmlContainerControl.cs
- ELinqQueryState.cs
- Ref.cs
- Win32Native.cs
- GC.cs
- SubstitutionList.cs
- HttpConfigurationContext.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- DrawingImage.cs
- TemplateControl.cs
- Matrix3D.cs
- CompositeControlDesigner.cs
- Matrix.cs
- BamlMapTable.cs
- BufferedStream.cs
- LinqDataSourceDeleteEventArgs.cs
- CategoryGridEntry.cs
- CachingHintValidation.cs
- TemplateColumn.cs
- OdbcConnectionStringbuilder.cs
- CLRBindingWorker.cs
- GeneralTransform2DTo3D.cs
- IntSecurity.cs
- NativeMethods.cs
- GridProviderWrapper.cs
- XmlUtil.cs
- PixelFormats.cs
- HostVisual.cs
- WebPartDescriptionCollection.cs
- DnsPermission.cs
- DocComment.cs
- UnmanagedMemoryStreamWrapper.cs
- DocumentAutomationPeer.cs
- SecurityIdentifierElementCollection.cs
- ProgramNode.cs
- KeyEvent.cs
- CodeGen.cs
- ToggleProviderWrapper.cs
- XmlSchemaInfo.cs
- TimeoutException.cs
- XsdDuration.cs
- ServiceModelSecurityTokenTypes.cs
- TreeViewEvent.cs
- KnownTypesHelper.cs
- Pkcs7Recipient.cs
- EntityModelSchemaGenerator.cs
- PropertyItem.cs
- GenericXmlSecurityToken.cs
- SimpleApplicationHost.cs
- TraceSection.cs
- Image.cs
- QueryOpeningEnumerator.cs
- AssemblyBuilderData.cs
- ObjectDisposedException.cs
- FieldNameLookup.cs
- MdiWindowListStrip.cs
- DesignerLinkAdapter.cs
- FilterQuery.cs
- PrintPreviewGraphics.cs
- OrCondition.cs
- EllipseGeometry.cs
- DataGridViewElement.cs
- Point3D.cs
- PublisherMembershipCondition.cs
- FloaterBaseParaClient.cs
- ContentValidator.cs
- WsdlHelpGeneratorElement.cs
- ButtonColumn.cs
- IDQuery.cs
- TreeNodeStyleCollection.cs
- DSASignatureFormatter.cs
- ConsoleCancelEventArgs.cs
- EventLogInternal.cs
- Random.cs
- ConnectionStringSettings.cs
- DataServiceRequestException.cs
- HttpResponseWrapper.cs
- VisualStyleElement.cs
- BlobPersonalizationState.cs
- Events.cs
- RuntimeWrappedException.cs
- XmlQualifiedName.cs
- ContentControl.cs