Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / CodeDOM / CodeCatchClause.cs / 1 / CodeCatchClause.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ 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
- DataRowChangeEvent.cs
- RunInstallerAttribute.cs
- returneventsaver.cs
- ScriptManager.cs
- ObjectManager.cs
- FocusWithinProperty.cs
- Message.cs
- ExpandCollapsePattern.cs
- UnknownWrapper.cs
- InputMethodStateTypeInfo.cs
- MulticastOption.cs
- ColumnWidthChangingEvent.cs
- CodeCatchClause.cs
- ToolStripSystemRenderer.cs
- WinFormsSpinner.cs
- FamilyMapCollection.cs
- DocumentSchemaValidator.cs
- HttpStreamFormatter.cs
- SchemaTypeEmitter.cs
- DES.cs
- PropagatorResult.cs
- PasswordDeriveBytes.cs
- ScalarType.cs
- WindowsAuthenticationEventArgs.cs
- SystemWebSectionGroup.cs
- ObjectContext.cs
- ScalarType.cs
- SignedXml.cs
- HotSpotCollectionEditor.cs
- ConnectionPoolManager.cs
- XamlSerializerUtil.cs
- Method.cs
- HttpValueCollection.cs
- ViewStateModeByIdAttribute.cs
- dataprotectionpermission.cs
- ProcessHostConfigUtils.cs
- BindUriHelper.cs
- OutputCacheSettingsSection.cs
- XmlElementAttributes.cs
- NameValueConfigurationElement.cs
- CaseExpr.cs
- BaseValidator.cs
- HttpInputStream.cs
- PackWebResponse.cs
- DataViewSettingCollection.cs
- AttributedMetaModel.cs
- OperationContractGenerationContext.cs
- MarkupProperty.cs
- PtsPage.cs
- cookieexception.cs
- DrawingImage.cs
- SharedPerformanceCounter.cs
- HybridDictionary.cs
- ConsumerConnectionPoint.cs
- TemplateGroupCollection.cs
- ChineseLunisolarCalendar.cs
- XmlNavigatorFilter.cs
- DynamicMethod.cs
- KeySplineConverter.cs
- EntityContainerEmitter.cs
- ErrorHandlingReceiver.cs
- MulticastNotSupportedException.cs
- ImageKeyConverter.cs
- XmlWriterSettings.cs
- SqlCacheDependencySection.cs
- SolidColorBrush.cs
- Point3DAnimationUsingKeyFrames.cs
- DropDownButton.cs
- EdmItemError.cs
- Int16.cs
- BitmapEffectInput.cs
- TraceContext.cs
- GroupBoxRenderer.cs
- WindowsListViewSubItem.cs
- ProfileSettingsCollection.cs
- ToolStripPanelRow.cs
- IgnoreSection.cs
- XmlSchemaExternal.cs
- Typography.cs
- SynchronizationContext.cs
- Track.cs
- OracleRowUpdatingEventArgs.cs
- BuildProviderUtils.cs
- BoundColumn.cs
- VSDExceptions.cs
- CachedBitmap.cs
- Point4DValueSerializer.cs
- AspCompat.cs
- Typography.cs
- BufferModesCollection.cs
- DependencyPropertyDescriptor.cs
- MemberCollection.cs
- UnmanagedBitmapWrapper.cs
- DataGridTextBoxColumn.cs
- DockPattern.cs
- DBSchemaRow.cs
- RequiredAttributeAttribute.cs
- BatchStream.cs
- XmlDataSource.cs
- NetworkCredential.cs