public class ContractDescription extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.Description.ContractDescription
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.Description.ContractDescription
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ContractDescription() |
ContractDescription(java.lang.Object instance)
Internal constructor.
|
ContractDescription(java.lang.String name) |
ContractDescription(java.lang.String name,
java.lang.String ns) |
| Modifier and Type | Method and Description |
|---|---|
static ContractDescription |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ContractDescription, a cast assert is made to check if types are compatible. |
NetType |
getCallbackContractType() |
java.lang.String |
getConfigurationName() |
static ContractDescription |
GetContract(NetType contractType) |
static ContractDescription |
GetContract(NetType contractType,
NetObject serviceImplementation) |
static ContractDescription |
GetContract(NetType contractType,
NetType serviceType) |
NetType |
getContractType() |
boolean |
getHasProtectionLevel() |
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
|
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
OperationDescriptionCollection |
getOperations() |
ProtectionLevel |
getProtectionLevel() |
SessionMode |
getSessionMode() |
void |
setCallbackContractType(NetType CallbackContractType) |
void |
setConfigurationName(java.lang.String ConfigurationName) |
void |
setContractType(NetType ContractType) |
void |
setJCOInstance(JCObject instance) |
void |
setName(java.lang.String Name) |
void |
setNamespace(java.lang.String Namespace) |
void |
setProtectionLevel(ProtectionLevel ProtectionLevel) |
void |
setSessionMode(SessionMode SessionMode) |
boolean |
ShouldSerializeProtectionLevel() |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ContractDescription()
throws java.lang.Throwable
java.lang.Throwablepublic ContractDescription(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ContractDescription(java.lang.String name)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
OutOfMemoryException,
SecurityException,
UriFormatException
public ContractDescription(java.lang.String name,
java.lang.String ns)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
MulticastNotSupportedException,
ArgumentNullException,
FormatException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ConfigurationErrorsException,
OverflowException,
OutOfMemoryException,
SecurityException,
MemberAccessException,
NullReferenceException,
UriFormatException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionOverflowExceptionOutOfMemoryExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionpublic static ContractDescription cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ContractDescription, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedContractDescription instancejava.lang.Throwable - in case of error during cast operationpublic NetType getCallbackContractType() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getConfigurationName()
throws java.lang.Throwable
java.lang.Throwablepublic static ContractDescription GetContract(NetType contractType) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionCultureNotFoundExceptionpublic static ContractDescription GetContract(NetType contractType, NetObject serviceImplementation) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionCultureNotFoundExceptionpublic static ContractDescription GetContract(NetType contractType, NetType serviceType) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionCultureNotFoundExceptionpublic NetType getContractType() throws java.lang.Throwable
java.lang.Throwablepublic boolean getHasProtectionLevel()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OutOfMemoryException,
NotSupportedException
public java.lang.String getNamespace()
throws java.lang.Throwable
java.lang.Throwablepublic OperationDescriptionCollection getOperations() throws java.lang.Throwable
java.lang.Throwablepublic ProtectionLevel getProtectionLevel() throws java.lang.Throwable
java.lang.Throwablepublic SessionMode getSessionMode() throws java.lang.Throwable
java.lang.Throwablepublic void setCallbackContractType(NetType CallbackContractType) throws java.lang.Throwable
java.lang.Throwablepublic void setConfigurationName(java.lang.String ConfigurationName)
throws java.lang.Throwable
java.lang.Throwablepublic void setContractType(NetType ContractType) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setName(java.lang.String Name)
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
ArgumentNullException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
OverflowException,
OutOfMemoryException
public void setNamespace(java.lang.String Namespace)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
SecurityException,
MemberAccessException,
NullReferenceException,
UriFormatException,
OutOfMemoryException,
MulticastNotSupportedException,
ConfigurationErrorsException,
OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionOverflowExceptionpublic void setProtectionLevel(ProtectionLevel ProtectionLevel) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, OutOfMemoryException
public void setSessionMode(SessionMode SessionMode) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, OutOfMemoryException
public boolean ShouldSerializeProtectionLevel()
throws java.lang.Throwable
java.lang.Throwable