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
- XmlSchemaImport.cs
- PackWebRequest.cs
- ContractsBCL.cs
- AssemblyBuilderData.cs
- XmlSchemaComplexContent.cs
- InstanceCreationEditor.cs
- NetMsmqSecurity.cs
- RuleRef.cs
- NullableIntSumAggregationOperator.cs
- Imaging.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- MatrixTransform.cs
- XmlHierarchicalDataSourceView.cs
- MiniAssembly.cs
- NullableFloatAverageAggregationOperator.cs
- TemplatePartAttribute.cs
- CFStream.cs
- LiteralDesigner.cs
- MemoryStream.cs
- ILGenerator.cs
- ToolboxItemFilterAttribute.cs
- FrugalMap.cs
- ProtectedConfigurationProviderCollection.cs
- BrowserTree.cs
- Context.cs
- UnsafeNativeMethods.cs
- ScrollViewer.cs
- HtmlTableRow.cs
- LogArchiveSnapshot.cs
- ExternalException.cs
- HiddenField.cs
- ExistsInCollection.cs
- JournalNavigationScope.cs
- RichTextBoxAutomationPeer.cs
- HttpProfileBase.cs
- ProcessProtocolHandler.cs
- HtmlAnchor.cs
- FieldCollectionEditor.cs
- DoubleCollection.cs
- BitmapEffectrendercontext.cs
- ResolveNameEventArgs.cs
- MemberMaps.cs
- Region.cs
- ObjectViewFactory.cs
- OrderedHashRepartitionStream.cs
- ComplexTypeEmitter.cs
- GenericsInstances.cs
- HtmlInputReset.cs
- StringAnimationUsingKeyFrames.cs
- PagesSection.cs
- Variable.cs
- BaseHashHelper.cs
- RootDesignerSerializerAttribute.cs
- NumericUpDownAcceleration.cs
- DataGridViewSelectedCellCollection.cs
- HttpResponse.cs
- CodeAttributeDeclaration.cs
- XPathEmptyIterator.cs
- UnsafeNativeMethods.cs
- ToolStripSplitStackLayout.cs
- ObjectAnimationUsingKeyFrames.cs
- NoPersistHandle.cs
- TemplateInstanceAttribute.cs
- StreamDocument.cs
- AggregateNode.cs
- Cloud.cs
- TextSimpleMarkerProperties.cs
- DataControlFieldTypeEditor.cs
- CodeLabeledStatement.cs
- _RequestLifetimeSetter.cs
- ZoneMembershipCondition.cs
- ConsumerConnectionPoint.cs
- SerialPinChanges.cs
- ComponentChangedEvent.cs
- BinaryReader.cs
- CacheVirtualItemsEvent.cs
- StaticExtension.cs
- QilIterator.cs
- KeySplineConverter.cs
- NameValuePermission.cs
- ByteStream.cs
- XmlSchemaInfo.cs
- BaseHashHelper.cs
- Baml2006KeyRecord.cs
- StylusPoint.cs
- NativeMethodsCLR.cs
- XmlWellformedWriter.cs
- RotationValidation.cs
- PopupControlService.cs
- WebMessageEncodingBindingElement.cs
- CodeSnippetExpression.cs
- ConfigXmlDocument.cs
- PropertyValueUIItem.cs
- ApplicationActivator.cs
- util.cs
- NavigationFailedEventArgs.cs
- StylusCollection.cs
- DeploymentSection.cs
- FragmentNavigationEventArgs.cs
- FixedDocument.cs