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
- RecordsAffectedEventArgs.cs
- Object.cs
- Vector3DIndependentAnimationStorage.cs
- WebBaseEventKeyComparer.cs
- EntityStoreSchemaGenerator.cs
- Tag.cs
- BitmapMetadata.cs
- Point3DKeyFrameCollection.cs
- DoubleLinkListEnumerator.cs
- _ConnectOverlappedAsyncResult.cs
- SqlReferenceCollection.cs
- BufferedOutputAsyncStream.cs
- Model3DCollection.cs
- SiteMapSection.cs
- SystemColorTracker.cs
- ProfilePropertySettings.cs
- TypedDataSetSchemaImporterExtension.cs
- OrderToken.cs
- StrongNameMembershipCondition.cs
- IntegerValidatorAttribute.cs
- TimeoutException.cs
- CardSpacePolicyElement.cs
- LinearKeyFrames.cs
- TextInfo.cs
- SQLBytesStorage.cs
- SqlComparer.cs
- Fault.cs
- BoolExpr.cs
- Block.cs
- StrokeNode.cs
- XmlDocument.cs
- ComponentGlyph.cs
- ValidationHelpers.cs
- BaseValidator.cs
- Utils.cs
- ExternalCalls.cs
- ProxyHwnd.cs
- HostingEnvironmentSection.cs
- XmlDocumentFragment.cs
- FunctionCommandText.cs
- FreezableOperations.cs
- BamlStream.cs
- EntitySqlQueryCacheEntry.cs
- HideDisabledControlAdapter.cs
- ConcurrentStack.cs
- SmiEventStream.cs
- XmlIlVisitor.cs
- TemplateParser.cs
- datacache.cs
- RenderDataDrawingContext.cs
- WindowsAltTab.cs
- EnumValidator.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DataGridViewCellCollection.cs
- SystemResourceHost.cs
- ReaderWriterLockSlim.cs
- PropertyGeneratedEventArgs.cs
- HttpGetProtocolReflector.cs
- FirewallWrapper.cs
- SchemaTypeEmitter.cs
- SqlClientPermission.cs
- PreProcessor.cs
- SqlWebEventProvider.cs
- SoapRpcMethodAttribute.cs
- SoapReflectionImporter.cs
- RectAnimationBase.cs
- xmlsaver.cs
- SqlCachedBuffer.cs
- SqlServices.cs
- XmlSerializationReader.cs
- CompareInfo.cs
- SectionInput.cs
- DataGridViewLayoutData.cs
- ResourcePermissionBase.cs
- SourceElementsCollection.cs
- HostExecutionContextManager.cs
- SplayTreeNode.cs
- QilPatternFactory.cs
- ErrorTableItemStyle.cs
- Parameter.cs
- RelationshipEndCollection.cs
- LambdaCompiler.Unary.cs
- SuppressMergeCheckAttribute.cs
- WebReferencesBuildProvider.cs
- FastEncoder.cs
- ResourceSetExpression.cs
- StreamWithDictionary.cs
- MetadataItemCollectionFactory.cs
- DispatcherHookEventArgs.cs
- CollectionAdapters.cs
- GridViewUpdateEventArgs.cs
- TrackingMemoryStreamFactory.cs
- SerialErrors.cs
- Literal.cs
- XmlUtil.cs
- SessionStateSection.cs
- LiteralControl.cs
- ProcessProtocolHandler.cs
- DataGridViewRowEventArgs.cs
- AppDomainEvidenceFactory.cs