Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- HTMLTextWriter.cs
- X509CertificateCollection.cs
- DbSetClause.cs
- ObjectAssociationEndMapping.cs
- CommonXSendMessage.cs
- SqlXml.cs
- namescope.cs
- Compensation.cs
- EasingFunctionBase.cs
- XmlArrayItemAttribute.cs
- UserInitiatedNavigationPermission.cs
- DesignerProperties.cs
- DrawingAttributesDefaultValueFactory.cs
- XmlDownloadManager.cs
- ObjectDataSourceMethodEditor.cs
- SqlMethods.cs
- StrongNameIdentityPermission.cs
- ClientRuntimeConfig.cs
- AccessViolationException.cs
- PackageDigitalSignature.cs
- TextMetrics.cs
- BevelBitmapEffect.cs
- CodeTypeDeclaration.cs
- EventProviderBase.cs
- Lasso.cs
- DataViewSettingCollection.cs
- Font.cs
- Int64Converter.cs
- DelegatingTypeDescriptionProvider.cs
- ReadWriteObjectLock.cs
- XmlDataContract.cs
- InfoCardSchemas.cs
- Table.cs
- AdvancedBindingPropertyDescriptor.cs
- MemberBinding.cs
- WebDescriptionAttribute.cs
- EntityClassGenerator.cs
- Emitter.cs
- ZipIOFileItemStream.cs
- NavigationEventArgs.cs
- MachineKeySection.cs
- DrawingImage.cs
- PrinterResolution.cs
- XNodeSchemaApplier.cs
- RemoteWebConfigurationHostStream.cs
- FamilyCollection.cs
- SelectQueryOperator.cs
- MeasureItemEvent.cs
- Symbol.cs
- String.cs
- TextEffectResolver.cs
- SizeValueSerializer.cs
- EdmSchemaAttribute.cs
- XmlLanguage.cs
- ProxyGenerator.cs
- WebPartUtil.cs
- NameSpaceExtractor.cs
- CompareValidator.cs
- KeyTime.cs
- ByteStreamGeometryContext.cs
- XmlSchemaParticle.cs
- RefType.cs
- ApplicationGesture.cs
- Size.cs
- CompiledQueryCacheKey.cs
- TextEffect.cs
- InvalidWMPVersionException.cs
- ToolStripRenderer.cs
- CommandExpr.cs
- SerializationStore.cs
- DesignerVerbCollection.cs
- Inflater.cs
- ClientScriptManager.cs
- WpfMemberInvoker.cs
- QueryResults.cs
- DataKey.cs
- EventHandlers.cs
- Soap11ServerProtocol.cs
- HostAdapter.cs
- returneventsaver.cs
- SamlAuthenticationStatement.cs
- QueryCacheEntry.cs
- DataGridViewControlCollection.cs
- DataGridViewTextBoxCell.cs
- ECDiffieHellmanCng.cs
- SimpleType.cs
- XmlEventCache.cs
- RegularExpressionValidator.cs
- ArrayConverter.cs
- ChangesetResponse.cs
- GenericAuthenticationEventArgs.cs
- StringFreezingAttribute.cs
- XPathSelfQuery.cs
- HttpAsyncResult.cs
- String.cs
- PointHitTestParameters.cs
- BeginGetFileNameFromUserRequest.cs
- DictionarySurrogate.cs
- FixedSOMTextRun.cs
- XmlException.cs