Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- GridViewCancelEditEventArgs.cs
- XmlHierarchyData.cs
- SqlRetyper.cs
- StrokeDescriptor.cs
- ByteAnimationBase.cs
- DrawTreeNodeEventArgs.cs
- TreeViewHitTestInfo.cs
- BinaryNode.cs
- TrackingStringDictionary.cs
- LocalValueEnumerator.cs
- PersonalizationStateQuery.cs
- TextShapeableCharacters.cs
- Nodes.cs
- OdbcTransaction.cs
- WebPartZoneBase.cs
- MasterPage.cs
- SqlBulkCopyColumnMapping.cs
- ClientTarget.cs
- SrgsRuleRef.cs
- DataRelationPropertyDescriptor.cs
- selecteditemcollection.cs
- SelectionEditingBehavior.cs
- RoleManagerModule.cs
- OverflowException.cs
- ExecutorLocksHeldException.cs
- Stacktrace.cs
- CompilerScopeManager.cs
- Int32Collection.cs
- Parameter.cs
- InsufficientMemoryException.cs
- AccessedThroughPropertyAttribute.cs
- WithStatement.cs
- StatusBarPanelClickEvent.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- AssemblyResourceLoader.cs
- OleDbRowUpdatedEvent.cs
- PropertyGridEditorPart.cs
- BackStopAuthenticationModule.cs
- RectConverter.cs
- XmlFormatWriterGenerator.cs
- QueuePathDialog.cs
- DataGridViewTopLeftHeaderCell.cs
- securitycriticaldata.cs
- SlipBehavior.cs
- SessionEndedEventArgs.cs
- TranslateTransform.cs
- SpeechUI.cs
- DrawingCollection.cs
- DetailsViewDeletedEventArgs.cs
- DesignerSerializationVisibilityAttribute.cs
- HttpHandlerActionCollection.cs
- DecimalMinMaxAggregationOperator.cs
- MemberInitExpression.cs
- IHttpResponseInternal.cs
- ReflectEventDescriptor.cs
- DynamicQueryableWrapper.cs
- StorageConditionPropertyMapping.cs
- DictionaryGlobals.cs
- XmlDocumentViewSchema.cs
- BaseCollection.cs
- ProxyHwnd.cs
- TextEditorMouse.cs
- TypeDelegator.cs
- CodeSnippetCompileUnit.cs
- XPathNavigatorReader.cs
- WeakHashtable.cs
- ImageInfo.cs
- BaseProcessor.cs
- HttpValueCollection.cs
- X509SubjectKeyIdentifierClause.cs
- XmlToDatasetMap.cs
- DesignerUtils.cs
- ToolStripRendererSwitcher.cs
- PersistenceTypeAttribute.cs
- WebPartDescriptionCollection.cs
- HatchBrush.cs
- ThemeInfoAttribute.cs
- ControlCollection.cs
- FormsAuthenticationConfiguration.cs
- RankException.cs
- PrimitiveType.cs
- DesignParameter.cs
- FreezableOperations.cs
- FormViewPagerRow.cs
- TreeNodeEventArgs.cs
- AdjustableArrowCap.cs
- HtmlElementErrorEventArgs.cs
- Pts.cs
- WpfKnownType.cs
- TypeInitializationException.cs
- BooleanSwitch.cs
- GenericNameHandler.cs
- GraphicsContainer.cs
- XsdBuilder.cs
- ImmComposition.cs
- ChangeBlockUndoRecord.cs
- PropertyInfoSet.cs
- TextDecorationCollection.cs
- ZoneLinkButton.cs
- FileDetails.cs