public class InstanceContext extends CommunicationObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.InstanceContext
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.ServiceModel
|
static java.lang.String |
className
Qualified class name: System.ServiceModel.InstanceContext
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
InstanceContext() |
InstanceContext(NetObject implementation) |
InstanceContext(java.lang.Object instance)
Internal constructor.
|
InstanceContext(ServiceHostBase host) |
InstanceContext(ServiceHostBase host,
NetObject implementation) |
| Modifier and Type | Method and Description |
|---|---|
static InstanceContext |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into InstanceContext, a cast assert is made to check if types are compatible. |
ServiceHostBase |
getHost() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getManualFlowControlLimit() |
NetObject |
GetServiceInstance() |
NetObject |
GetServiceInstance(Message message) |
SynchronizationContext |
getSynchronizationContext() |
int |
IncrementManualFlowControlLimit(int incrementBy) |
void |
ReleaseServiceInstance() |
void |
setJCOInstance(JCObject instance) |
void |
setManualFlowControlLimit(int ManualFlowControlLimit) |
void |
setSynchronizationContext(SynchronizationContext SynchronizationContext) |
Abort, addClosed, addClosing, addFaulted, addOpened, addOpening, BeginClose, BeginClose, BeginOpen, BeginOpen, Close, Close, EndClose, EndOpen, getState, Open, Open, removeClosed, removeClosing, removeFaulted, removeOpened, removeOpeningpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public InstanceContext()
throws java.lang.Throwable
java.lang.Throwablepublic InstanceContext(NetObject implementation) throws java.lang.Throwable
java.lang.Throwablepublic InstanceContext(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic InstanceContext(ServiceHostBase host) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, SecurityException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionpublic InstanceContext(ServiceHostBase host, NetObject implementation) throws java.lang.Throwable
java.lang.Throwablepublic static InstanceContext cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into InstanceContext, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedInstanceContext instancejava.lang.Throwable - in case of error during cast operationpublic ServiceHostBase getHost() throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, KeyNotFoundException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, MulticastNotSupportedException, XmlException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionXmlExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CommunicationObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CommunicationObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CommunicationObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CommunicationObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class CommunicationObjectJCType representing the CLR Type of the instantiated Classpublic int getManualFlowControlLimit()
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic NetObject GetServiceInstance() throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, KeyNotFoundException, ConfigurationErrorsException, OverflowException, IndexOutOfRangeException, OutOfMemoryException, XmlException, EventSourceException, NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionConfigurationErrorsExceptionOverflowExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionXmlExceptionEventSourceExceptionNotSupportedExceptionpublic NetObject GetServiceInstance(Message message) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, KeyNotFoundException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, MulticastNotSupportedException, XmlException, EventSourceException, NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionXmlExceptionEventSourceExceptionNotSupportedExceptionpublic SynchronizationContext getSynchronizationContext() throws java.lang.Throwable
java.lang.Throwablepublic int IncrementManualFlowControlLimit(int incrementBy)
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
MulticastNotSupportedException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ConfigurationErrorsException,
OverflowException,
SecurityException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionpublic void ReleaseServiceInstance()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
KeyNotFoundException,
ConfigurationErrorsException,
OverflowException,
SecurityException,
OutOfMemoryException,
MulticastNotSupportedException,
XmlException,
EventSourceException,
NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionXmlExceptionEventSourceExceptionNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class CommunicationObjectpublic void setManualFlowControlLimit(int ManualFlowControlLimit)
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
MulticastNotSupportedException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ConfigurationErrorsException,
OverflowException,
SecurityException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionpublic void setSynchronizationContext(SynchronizationContext SynchronizationContext) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, KeyNotFoundException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException, MulticastNotSupportedException, XmlException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionXmlException