Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeViewItemAutomationPeer.cs
- DataPagerFieldCollection.cs
- SchemaDeclBase.cs
- SequenceDesignerAccessibleObject.cs
- ApplicationTrust.cs
- OleDbEnumerator.cs
- ForwardPositionQuery.cs
- OleDbReferenceCollection.cs
- Errors.cs
- GlobalProxySelection.cs
- IgnorePropertiesAttribute.cs
- DataRelationCollection.cs
- Directory.cs
- followingsibling.cs
- XmlSchemaRedefine.cs
- Completion.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- DataBindingCollection.cs
- InputLanguageProfileNotifySink.cs
- ColorConvertedBitmapExtension.cs
- ColorBuilder.cs
- DataGridItemEventArgs.cs
- BounceEase.cs
- HostSecurityManager.cs
- SafeNativeMethodsOther.cs
- PersonalizationState.cs
- ScriptResourceDefinition.cs
- EntityCommand.cs
- Tokenizer.cs
- PickBranch.cs
- ZoneButton.cs
- RepeatBehavior.cs
- EventRoute.cs
- Visitors.cs
- WebPartConnectionCollection.cs
- AuthenticationConfig.cs
- HtmlInputHidden.cs
- ModuleBuilder.cs
- SessionStateItemCollection.cs
- Rect3DValueSerializer.cs
- RankException.cs
- DataMemberFieldConverter.cs
- UseLicense.cs
- PolygonHotSpot.cs
- GacUtil.cs
- XmlSchemaInfo.cs
- SqlUserDefinedTypeAttribute.cs
- EditorPart.cs
- SynchronizedDispatch.cs
- InkCollectionBehavior.cs
- IconHelper.cs
- ClientSideQueueItem.cs
- Component.cs
- ParameterBuilder.cs
- MouseActionConverter.cs
- DiscardableAttribute.cs
- Drawing.cs
- DeflateEmulationStream.cs
- XmlTextAttribute.cs
- ReaderWriterLockWrapper.cs
- RIPEMD160.cs
- XmlConverter.cs
- ExpressionCopier.cs
- XmlSignificantWhitespace.cs
- SqlCommandAsyncResult.cs
- QilBinary.cs
- ClassicBorderDecorator.cs
- ExcludePathInfo.cs
- StyleModeStack.cs
- LocatorBase.cs
- ParallelSeparator.xaml.cs
- XmlSchemaAny.cs
- WebMessageEncoderFactory.cs
- CommandBinding.cs
- CheckableControlBaseAdapter.cs
- EmbeddedMailObject.cs
- CallContext.cs
- Geometry.cs
- DbProviderFactoriesConfigurationHandler.cs
- Soap.cs
- LinqTreeNodeEvaluator.cs
- FontSourceCollection.cs
- FontDifferentiator.cs
- ResourceSetExpression.cs
- Psha1DerivedKeyGeneratorHelper.cs
- MenuItemStyle.cs
- ObjectCloneHelper.cs
- DesignerAutoFormatStyle.cs
- QilStrConcatenator.cs
- CompressedStack.cs
- AttributeSetAction.cs
- Int16Animation.cs
- MemberPath.cs
- RichTextBoxAutomationPeer.cs
- HtmlDocument.cs
- ElementProxy.cs
- ListItemParagraph.cs
- MessageHeaderT.cs
- StyleCollectionEditor.cs
- HGlobalSafeHandle.cs