FIX: ??? ????? ????? ????? (WSDL) ???? ?? ?????? ?? ???? ???? ?? ?? ????? ??????? ??? ?????? ??????? ?? ??? ???? ??? ????? ????? ???? ????? ???????? ?? .NET Framework 2.0

?????? ????????? ?????? ?????????
???? ???????: 917782 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ???????? ??? HttpChannel ??? ?????? ???? ?? ????? Microsoft .NET Framework 2.0 ??????? ?? ???? ?? ?? ????? ??????? ??? ?????? ????????? ??? ????? ????? ????? (WSDL) ???? ?? ?????? ?? ???? ???? ?? ????? ???? ????? ???????? ?? ???? ???? ???? ???? ????. ??? ???? ??????? ????? ??????? ?????? ?????? ?????? ??????? ??????? ????? ????????? ???????? ????? ??????.

???? 1

??? ?????? ??? ????? ?????????
class MyRemoteClass : System.MarshalByRefObject
{
	public MyRemoteClass()
	{ }

	public EmpDetail GetEmpInfo()
	{
		return new EmpDetail();
	}
}
?? ??? ??????? ??? EmpDetail ????? ?? ??????? ??? ??? ?????? ???????? ??????? ????????? ???????? ??????.
[Serializable]
public class EmpDetail
{
	private string m_Id;
	private string m_description;

	public string Id
	{
		get 
		{ return m_Id; }
		set
		{ m_Id = value; }
	}

	public string Description
	{
		get
		{ return m_description; }
		set
		{ m_description = value; }
	}
}
?? ??? ??????? ??? ??? WSDL ???? ??? ??????? ?? ???? ???? ?????? ??? ?? ???? ??? ??????? ??? ????? ?????? ?? ????? ?????.

???? 2

??? ?????? ??? ????? ???? ????? ?????? overloaded.

??? ???????? ???????? ??????? ??? ??????.
using System;
class app 
{
    static void Main()
    {
	DogService ds = new DogService();
        Console.WriteLine(ds.Bark("steve", "citect"));
        Console.WriteLine(ds.Bark());
    }
}
???????? ???????? ??????? ?? ??????.
using System;
using System.Text;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Http;
using System.Threading;

public class Dog : MarshalByRefObject
{
    public string Bark()
    {
        return "woof";
    }
    public string Bark(string userName, string password)
    {
        return userName + password;
    }
}
class Program
{
    static void Main(string[] args)
    {
        HttpChannel ch = new HttpChannel(7777);
        ChannelServices.RegisterChannel(ch);
        string uri = string.Concat("b1/", typeof(Dog).Name);
        Console.WriteLine(uri);
        RemotingConfiguration.RegisterWellKnownServiceType(typeof(Dog), uri, WellKnownObjectMode.Singleton);
        Console.WriteLine("open for business");
        Console.ReadLine();
    }
}
?? ??? ??????, ??? ??? WSDL ???? ??? ??????? ?? ???? ???? ?? ????? ??????? NullReferenceException ??? ?????? ??? ??????? ??????? overloaded.

????

????? ???? ????? ???? ????? ?? Microsoft ???? ????? ??? ?? ?? ??????? ??????? ?? ??? ??????? ???. ??? ?????? ??? ??????? ???? ????? ??? ??????? ????????. ?? ??? ????? ???????? ?????? ??? ??? ??????? ??????. ?????? ??? ?? ??? ????? ??? ??????? ??????? ???? ????????? ??? ??????? ?????? ?? ???? ?????? Microsoft .NET Framework 2.0 ????? ????? ??? ??? ??????? ??????.

??? ??? ??????? ?????? ???? ?????? ??? ???????? ?? Microsoft "?????? ??? ??????? ??????. ?????? ??? ????? ????? ?????? ?????? ?????? ?????? ??? ???? Microsoft ???? ??????? ??? ?????? ?????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/contactus/?ws=support
?????? ?? ??? ???????? ?? ??? ????? ????????? ???? ?????? ????? ??? ??????? ????? ??? ??? ?????? ????? ??? Microsoft ?? ??????? ?????? ??? ???? ??? ?? ???????. ???? ????? ?????? ????? ???????? ??? ????? ????? ???????? ????????? ???? ?? ???? ??? ???? ??? ???????.

????????? ????????

?????? ??? ??????? ??????? ??? ?? ??? ????? .NET Framework 2.0.

????? ????? ?????

??? ????? ????? ????????? ??? ????? ??? ??????? ??????.

??????? ??????? ??????? ??????

?? ??? ??? ??????? ?????? ??? ??? ??????? ????? ????.

??????? ?????

????? ????? ????? ?????????? ?? ??? ??????? ?????? ???? ????? (?? ???? ????) ??????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ?? "??? ??????? ???????" (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? (UTC) ???????? ??????? ?????? ????? ??????? ??????? ??????? ?? ???? ??????? ?????? ?? "???? ??????".
?? ??? ??????????? ??? ??????
??? ?????????? ???????? ????????????????????? ???????
Mscordacwks.dll2.0.50727.97800,25607 ????? ??????: ??x 86
Mscorlib.dll2.0.50727.974,317,18407 ????? ??????: ??x 86
Mscorwks.dll2.0.50727.975,618,17607 ????? ??????: ??x 86
Normalization.dll2.0.50727.9715,36007 ????? ??????: ??x 86
Sos.dll2.0.50727.97377,34407 ????? ??????: ??x 86
System.data.dll2.0.50727.972,893,31207 ????? ??????: ??x 86
System.data.oracleclient.dll2.0.50727.97482,30407 ????? ??????: ??x 86
System.dll2.0.50727.973,018,75207 ????? ??????: ??x 86
System.runtime.remoting.dll2.0.50727.97294,91207 ????? ??????: ??x 86

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

??????? ????

????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
824684??? ????????? ???????? ????????? ?? ??? ??????? ????? Microsoft

???????

???? ???????: 917782 - ????? ??? ??????: 23/?? ??????/1428 - ??????: 2.1
????? ???
  • Microsoft .NET Framework 2.0
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Standard Edition
????? ??????: 
kbmt kbhotfixserver kbqfe kbpubtypekc KB917782 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????917782

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com