[Mono-list] please check

Alexander Chan alexc2649@nyc.rr.com
10 Mar 2003 13:40:29 -0500

Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi everybody,

Here is some code i have tried for registration exception. it seems to
compile but i am not sure what i need else i need to do. can somebody
help me and tell me what i need to do. i have attached my code with this

Alexander Chan <alexc2649@nyc.rr.com>

Content-Disposition: attachment; filename=RegistrationException.cs
Content-Type: text/plain; name=RegistrationException.cs; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

// System.EnterpriseServices.RegistrationException.cs
// Author:
//   Tim Coleman (tim@timcoleman.com)
// Copyright (C) Tim Coleman, 2002

using System;
using System.Runtime.Serialization;

namespace System.EnterpriseServices {
	public sealed class RegistrationException : SystemException {

		#region Fields

		RegistrationErrorInfo[] errorInfo;

		#endregion // Fields

		#region Constructors

		public RegistrationException (string msg)
			: base (msg)

		#endregion // Constructors

		#region Properties
		public RegistrationErrorInfo[] ErrorInfo {
			get { return errorInfo; }

		#endregion // Properties

		#region Methods
		//the coding of GetObjectdata() is so far written by alexander chan
		public override void GetObjectData (SerializationInfo info, StreamingContext ctx)

		private RegistrationException (SerializationInfo info, StreamingContext ctx):base (info,ctx)
			errorInfo = (RegistrationErrorInfo[]) info.GetValue ("ErrorInfo", typeof (RegistrationErrorInfo[]));
		#endregion // Methods