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
- coordinator.cs
- CryptoConfig.cs
- FolderNameEditor.cs
- OutputCacheSettings.cs
- Polygon.cs
- WindowsStatic.cs
- EntityDesignerUtils.cs
- EventItfInfo.cs
- ApplicationManager.cs
- HatchBrush.cs
- PerspectiveCamera.cs
- DataGridViewElement.cs
- KeyValuePair.cs
- SnapLine.cs
- ImmutableDispatchRuntime.cs
- ProcessHostFactoryHelper.cs
- DirectoryLocalQuery.cs
- XmlLanguage.cs
- BinaryReader.cs
- IndentedTextWriter.cs
- Int16Storage.cs
- DBConnectionString.cs
- AdapterSwitches.cs
- DataBindingHandlerAttribute.cs
- SQLInt64.cs
- DataGridViewBindingCompleteEventArgs.cs
- WorkflowRuntimeServiceElementCollection.cs
- ObjectReferenceStack.cs
- CodeTypeDeclarationCollection.cs
- MouseDevice.cs
- ToolStripDropDownDesigner.cs
- ChannelEndpointElement.cs
- PopupRootAutomationPeer.cs
- SignedXml.cs
- TargetConverter.cs
- Array.cs
- ContentIterators.cs
- localization.cs
- XmlCollation.cs
- BaseDataBoundControl.cs
- AssemblyCollection.cs
- Grid.cs
- EnumerableWrapperWeakToStrong.cs
- ServiceNameCollection.cs
- DateTimeConverter.cs
- sitestring.cs
- HttpDictionary.cs
- LinqDataSourceView.cs
- SecurityDescriptor.cs
- EventSinkActivityDesigner.cs
- FileDialog.cs
- DataGridViewRowCollection.cs
- StackOverflowException.cs
- SQLDateTimeStorage.cs
- UnsafeNativeMethods.cs
- FixedTextContainer.cs
- GeneralTransform3DTo2DTo3D.cs
- SqlBulkCopy.cs
- QuadraticBezierSegment.cs
- ToolStripOverflow.cs
- DataGridItemCollection.cs
- CalendarData.cs
- EventEntry.cs
- FaultBookmark.cs
- SplashScreen.cs
- SortDescription.cs
- TreeViewEvent.cs
- ProfilePropertyNameValidator.cs
- ComplexPropertyEntry.cs
- PresentationSource.cs
- HttpCachePolicy.cs
- COM2ColorConverter.cs
- BindingBase.cs
- ThreadExceptionDialog.cs
- HttpCacheParams.cs
- ProcessModuleCollection.cs
- TemplateManager.cs
- FlagsAttribute.cs
- TextInfo.cs
- ConnectionManagementSection.cs
- NumberFunctions.cs
- RuntimeHelpers.cs
- WhitespaceRule.cs
- XmlBindingWorker.cs
- ElementNotAvailableException.cs
- WebPartDescription.cs
- CompilerError.cs
- smtppermission.cs
- Filter.cs
- TimelineClockCollection.cs
- InputScopeAttribute.cs
- ComponentFactoryHelpers.cs
- CustomBindingElement.cs
- XmlQualifiedName.cs
- SqlBuilder.cs
- CqlErrorHelper.cs
- AlignmentYValidation.cs
- Array.cs
- CaretElement.cs
- AddInAdapter.cs