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
- ListViewItemMouseHoverEvent.cs
- AmbiguousMatchException.cs
- InlineUIContainer.cs
- FakeModelItemImpl.cs
- MimeParameters.cs
- Metafile.cs
- RelationshipEndMember.cs
- RequestTimeoutManager.cs
- AsmxEndpointPickerExtension.cs
- ProgressChangedEventArgs.cs
- OleDbCommandBuilder.cs
- TreeIterator.cs
- ScriptManagerProxy.cs
- BitmapEffectDrawingContent.cs
- SqlRowUpdatingEvent.cs
- MessageBuilder.cs
- ChildrenQuery.cs
- ParameterExpression.cs
- PriorityBinding.cs
- HtmlShimManager.cs
- NavigationHelper.cs
- RoutedCommand.cs
- FrameworkObject.cs
- ThreadAttributes.cs
- TransactionChannel.cs
- WebSysDefaultValueAttribute.cs
- GeneralTransform2DTo3D.cs
- Base64Decoder.cs
- HttpModuleAction.cs
- SemanticResolver.cs
- Model3DCollection.cs
- Animatable.cs
- TextTreeExtractElementUndoUnit.cs
- _Win32.cs
- BitmapData.cs
- XMLSchema.cs
- Point3DAnimationUsingKeyFrames.cs
- ListViewGroup.cs
- CachedFontFace.cs
- XmlHierarchicalEnumerable.cs
- ListViewItemCollectionEditor.cs
- DefinitionBase.cs
- Panel.cs
- AppDomainGrammarProxy.cs
- FileReservationCollection.cs
- MediaScriptCommandRoutedEventArgs.cs
- EventLogEntryCollection.cs
- _NTAuthentication.cs
- VirtualizedContainerService.cs
- MenuCommand.cs
- SoapHelper.cs
- Walker.cs
- ThreadStateException.cs
- SecureConversationServiceCredential.cs
- securestring.cs
- XmlBufferReader.cs
- ExpressionConverter.cs
- EncoderParameter.cs
- MSAAEventDispatcher.cs
- ListBox.cs
- ProfileParameter.cs
- StylusPointCollection.cs
- PageBreakRecord.cs
- StructuredCompositeActivityDesigner.cs
- UnsignedPublishLicense.cs
- ReadOnlyActivityGlyph.cs
- QuadraticBezierSegment.cs
- MessageBox.cs
- FuncCompletionCallbackWrapper.cs
- HTMLTextWriter.cs
- StyleTypedPropertyAttribute.cs
- EntityDataSourceWizardForm.cs
- AvtEvent.cs
- PropertyRef.cs
- EntityDataSourceViewSchema.cs
- EndOfStreamException.cs
- PersistChildrenAttribute.cs
- DesignerForm.cs
- SqlCacheDependency.cs
- RelatedEnd.cs
- HttpCacheVaryByContentEncodings.cs
- VSWCFServiceContractGenerator.cs
- entityreference_tresulttype.cs
- EditorAttribute.cs
- Font.cs
- XmlSerializerSection.cs
- RedBlackList.cs
- SiteOfOriginPart.cs
- SafeBitVector32.cs
- QuaternionAnimation.cs
- ObjectDataSourceSelectingEventArgs.cs
- SQLGuid.cs
- StringSource.cs
- SchemaDeclBase.cs
- FrameAutomationPeer.cs
- DecoderBestFitFallback.cs
- OnOperation.cs
- PnrpPermission.cs
- XmlIncludeAttribute.cs
- SqlCacheDependency.cs