Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interfaces Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01097322
Message ID:
01097327
Vues:
10
just as an example...
	public interface IOrderObject
	{
		string GetOrders(int nCustomerId);	
          }
The client side can code against this interface, even though the actual code for GetOrders resides on another server.
MyInterfaces.IOrderobject oRemoteOrderObject;

oRemoteOrderObject = (IOrderObject)oMyRemotingClass.GetRemoteObject();
string cMyResults = oRemoteOrderObject.GetOrders(nCustomerID);  

// oRemoteOrderObject is strongly typed...you'll be able to see the available props and methods in intellisense
Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform