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
- ForwardPositionQuery.cs
- HtmlControlAdapter.cs
- RegistryConfigurationProvider.cs
- ModelPropertyCollectionImpl.cs
- SystemIcmpV4Statistics.cs
- Hashtable.cs
- RoutedUICommand.cs
- XmlSchemaValidator.cs
- ISAPIRuntime.cs
- Model3D.cs
- SafeFileHandle.cs
- PrintDocument.cs
- DispatcherExceptionFilterEventArgs.cs
- documentsequencetextcontainer.cs
- ObjectStateManagerMetadata.cs
- RecordManager.cs
- SpeechSeg.cs
- sqlstateclientmanager.cs
- WorkflowPageSetupDialog.cs
- mediaclock.cs
- LoginCancelEventArgs.cs
- ExpressionBuilder.cs
- FixedSOMImage.cs
- MainMenu.cs
- safelink.cs
- Separator.cs
- VisualTransition.cs
- SingleConverter.cs
- DeflateStreamAsyncResult.cs
- HtmlWindowCollection.cs
- ClientSettings.cs
- NamedObject.cs
- DataGridViewRowStateChangedEventArgs.cs
- InternalsVisibleToAttribute.cs
- TypeSystem.cs
- CultureMapper.cs
- OrCondition.cs
- FormattedText.cs
- HttpFileCollectionWrapper.cs
- DocumentViewerConstants.cs
- Evaluator.cs
- WebConfigurationManager.cs
- ToolConsole.cs
- RefExpr.cs
- XamlGridLengthSerializer.cs
- HostedHttpTransportManager.cs
- Flattener.cs
- ConnectivityStatus.cs
- ClientTarget.cs
- Repeater.cs
- UnionCodeGroup.cs
- OracleConnectionFactory.cs
- DiscreteKeyFrames.cs
- DrawingContextWalker.cs
- RadioButtonFlatAdapter.cs
- WebPartDisplayModeCollection.cs
- StickyNoteAnnotations.cs
- ResolveNameEventArgs.cs
- ObfuscationAttribute.cs
- Base64Encoder.cs
- XsdBuilder.cs
- RectangleF.cs
- OneOfConst.cs
- LoadedOrUnloadedOperation.cs
- TextBox.cs
- OleDbErrorCollection.cs
- DWriteFactory.cs
- ConsoleTraceListener.cs
- ProcessDesigner.cs
- AccessKeyManager.cs
- NativeMethodsCLR.cs
- ExternalException.cs
- TextEditorTables.cs
- AssociationEndMember.cs
- InstalledVoice.cs
- UpdatePanelTrigger.cs
- DbConnectionInternal.cs
- XPathSelfQuery.cs
- DBPropSet.cs
- Fault.cs
- PropertyMapper.cs
- ObfuscateAssemblyAttribute.cs
- WeakReferenceList.cs
- Point3DCollectionValueSerializer.cs
- MemoryRecordBuffer.cs
- MediaElement.cs
- Vector3DValueSerializer.cs
- EncodingNLS.cs
- StateChangeEvent.cs
- SqlGenerator.cs
- SortedDictionary.cs
- InstanceNotFoundException.cs
- ProtocolsConfigurationHandler.cs
- AvTraceDetails.cs
- Attribute.cs
- ScalarOps.cs
- TerminatorSinks.cs
- basemetadatamappingvisitor.cs
- SafeMILHandle.cs
- RadioButtonAutomationPeer.cs