Code:
/ 4.0 / 4.0 / 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. /// ///// // //----------------------------------------------------------------------------- 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
- SystemColors.cs
- PostBackTrigger.cs
- TextEditor.cs
- CanExecuteRoutedEventArgs.cs
- CodeCatchClauseCollection.cs
- PaperSource.cs
- ObjectReferenceStack.cs
- SiteMapProvider.cs
- HeaderUtility.cs
- SqlDataSourceCustomCommandEditor.cs
- PnrpPeerResolverBindingElement.cs
- GeneralTransformGroup.cs
- SizeChangedEventArgs.cs
- InstancePersistenceContext.cs
- EntryIndex.cs
- RSAPKCS1SignatureFormatter.cs
- SQLUtility.cs
- MDIWindowDialog.cs
- XamlInt32CollectionSerializer.cs
- ConfigXmlReader.cs
- followingsibling.cs
- MSAANativeProvider.cs
- ThreadAttributes.cs
- base64Transforms.cs
- ImageDesigner.cs
- PeerCollaboration.cs
- IHttpResponseInternal.cs
- StackOverflowException.cs
- XPathAncestorIterator.cs
- SingleAnimation.cs
- SessionStateContainer.cs
- NetDataContractSerializer.cs
- ValidationError.cs
- SHA512.cs
- AbandonedMutexException.cs
- CFGGrammar.cs
- CompiledIdentityConstraint.cs
- ArrayTypeMismatchException.cs
- SimplePropertyEntry.cs
- ArrayElementGridEntry.cs
- BooleanAnimationBase.cs
- DbInsertCommandTree.cs
- LogEntryUtils.cs
- EntityContainer.cs
- SevenBitStream.cs
- AudioStateChangedEventArgs.cs
- RemotingConfiguration.cs
- EntityType.cs
- DataMemberFieldConverter.cs
- CompilerError.cs
- Camera.cs
- VScrollBar.cs
- HatchBrush.cs
- CellParagraph.cs
- CellRelation.cs
- _NegotiateClient.cs
- VirtualDirectoryMapping.cs
- Function.cs
- MethodBuilderInstantiation.cs
- FieldToken.cs
- RegexCompiler.cs
- StylusPointCollection.cs
- AssemblyBuilder.cs
- ApplicationHost.cs
- InputDevice.cs
- formatter.cs
- graph.cs
- CodeBlockBuilder.cs
- Substitution.cs
- ServiceDebugBehavior.cs
- UICuesEvent.cs
- StylusPoint.cs
- SID.cs
- DataGridViewElement.cs
- XmlValueConverter.cs
- IISMapPath.cs
- _NTAuthentication.cs
- MailMessage.cs
- AstTree.cs
- LabelDesigner.cs
- WebPartConnectionsEventArgs.cs
- OperandQuery.cs
- Membership.cs
- Image.cs
- ConfigurationException.cs
- SqlRewriteScalarSubqueries.cs
- DoubleAnimation.cs
- FunctionImportMapping.cs
- UIElementIsland.cs
- MemoryPressure.cs
- RoutedEventArgs.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- PagerSettings.cs
- RowBinding.cs
- CodeDomConfigurationHandler.cs
- AnonymousIdentificationModule.cs
- Lazy.cs
- MsmqAppDomainProtocolHandler.cs
- EntityDataSourceEntityTypeFilterItem.cs
- MinimizableAttributeTypeConverter.cs