Re: Serializing an interface



I'm sure your object impelements ISerializable (since it derives from the
interface) - but is it also marked with the Serializable attribute ?

Scott Colestock
www.traceofthought.net



"Christoffer" <christoffer@xxxxxxxxxx> wrote in message
news:eSA92RA0FHA.268@xxxxxxxxxxxxxxxxxxxxxxx
> Yes. I have two variables, one 'objectbroker' that is the object broker
> and one 'iface' of the type Comp.IMyInterface. I then run the following in
> an Expression Shape
>
> iface = objectbroker.GetServer();
>
> /Chris
>
> "Scott Colestock" <scolestock@xxxxxxxxxxxxxxxx> wrote in message
> news:uN9HYNA0FHA.2792@xxxxxxxxxxxxxxxxxxxxxxx
>>
>> What exactly to the declared variables in your orchestration look like?
>> (Do you have one reference to the broker, and one or more to this
>> interface?)
>>
>> "Christoffer" <christoffer@xxxxxxxxxx> wrote in message
>> news:%23ccQ%23n$zFHA.720@xxxxxxxxxxxxxxxxxxxxxxx
>>> Heya, I have a .net interface which only use simple types. I also have
>>> an object broker for this interface and I would like to use this in my
>>> BizTalk Orchestration.
>>>
>>> Now, I've set the object broker to [Serializable()] but I can't set my
>>> interface to be [Serializable()] (C# won't allow me to do this), so I
>>> let the interface use the System.Runtime.Serialization.ISerializable
>>> interface such as:
>>>
>>> public interface IMyInterface :
>>> System.Runtime.Serialization.ISerializable
>>>
>>> But my BizTalk Orchestration still won't let me serialize this. I comes
>>> up with the standard: a non-serializable object type 'Comp.IMyInterface
>>> iface' can only be declared within an atomic scope or service
>>>
>>> Please help me serialize my interface!
>>> /Chris
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: Problem with multi-aliases network interfaces
    ... A wifi iface and ethernet iface with many alises? ... When I run multiple aliases on a single interface I do the same as ... where the first 3 octets are the same as on the eth0 device. ... over diferent IP subnetworks, the "network" init script appear to forgot ...
    (Fedora)
  • Mapping stanzas in interfaces file not working
    ... I'm trying to switch over from commenting/uncommenting relevant iface ... stanzas (man pages call them stanzas, so no snipes about my lack of ... The problem is that when I put the mapping entry in, ... course the eth0 interface isn't being configured. ...
    (Debian-User)
  • Etch: PPPoE Racecondition
    ... udev benamt das Interface anhand der MAC-Adresse und bringt es up: ... allow-hotplug dsl ... up ip link set $IFACE up ... Das PPPoE Interface ist wie folgt definiert: ...
    (de.comp.os.unix.linux.misc)
  • Re: I dont understand inheritance!
    ... If you have this interface: ... class Base1: IFace ... so you couldn't override it. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: I dont understand inheritance!
    ... If you have this interface: ... class Base1: IFace ... so you couldn't override it. ...
    (microsoft.public.dotnet.framework.aspnet)