public class LinkedResource extends AttachmentBase
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Mail.LinkedResource
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.Net.Mail, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Mail
|
static java.lang.String |
className
Qualified class name: System.Net.Mail.LinkedResource
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
LinkedResource() |
LinkedResource(java.lang.Object instance)
Internal constructor.
|
LinkedResource(Stream contentStream)
Initializes a new instance by invoking the .NET constructor.
|
LinkedResource(Stream contentStream,
ContentType contentType)
Initializes a new instance by invoking the .NET constructor.
|
LinkedResource(Stream contentStream,
java.lang.String mediaType)
Initializes a new instance by invoking the .NET constructor.
|
LinkedResource(java.lang.String fileName)
Initializes a new instance by invoking the .NET constructor.
|
LinkedResource(java.lang.String fileName,
ContentType contentType)
Initializes a new instance by invoking the .NET constructor.
|
LinkedResource(java.lang.String fileName,
java.lang.String mediaType)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static LinkedResource |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into LinkedResource, a cast assert is made to check if types are compatible. |
static LinkedResource |
CreateLinkedResourceFromString(java.lang.String content)
Invokes the .NET member CreateLinkedResourceFromString.
|
static LinkedResource |
CreateLinkedResourceFromString(java.lang.String content,
ContentType contentType)
Invokes the .NET member CreateLinkedResourceFromString.
|
static LinkedResource |
CreateLinkedResourceFromString(java.lang.String content,
Encoding contentEncoding,
java.lang.String mediaType)
Invokes the .NET member CreateLinkedResourceFromString.
|
Uri |
getContentLink()
Gets the value of the .NET property ContentLink.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
void |
setContentLink(Uri ContentLink)
Sets the value of the .NET property ContentLink.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
close, Dispose, getContentId, getContentStream, getContentType, getTransferEncoding, setContentId, setContentType, setTransferEncodingpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public LinkedResource()
throws java.lang.Throwable
java.lang.Throwablepublic LinkedResource(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic LinkedResource(Stream contentStream) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, FormatException, ArgumentOutOfRangeException
contentStream - the argument of type Streamjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic LinkedResource(Stream contentStream, ContentType contentType) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, FormatException, ArgumentOutOfRangeException
contentStream - the argument of type StreamcontentType - the argument of type ContentTypejava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic LinkedResource(Stream contentStream, java.lang.String mediaType) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, UnreachableException, IndexOutOfRangeException, FormatException, InvalidOperationException
contentStream - the argument of type StreammediaType - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic LinkedResource(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
SerializationException,
PlatformNotSupportedException,
UnreachableException,
IndexOutOfRangeException,
FormatException,
InvalidOperationException,
NotSupportedException
fileName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic LinkedResource(java.lang.String fileName,
ContentType contentType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
SerializationException,
FormatException,
NotSupportedException,
PlatformNotSupportedException
fileName - the argument of type java.lang.StringcontentType - the argument of type ContentTypejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic LinkedResource(java.lang.String fileName,
java.lang.String mediaType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
SerializationException,
PlatformNotSupportedException,
UnreachableException,
IndexOutOfRangeException,
FormatException,
InvalidOperationException,
NotSupportedException
fileName - the argument of type java.lang.StringmediaType - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static LinkedResource cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into LinkedResource, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedLinkedResource instancejava.lang.Throwable - in case of error during cast operationpublic static LinkedResource CreateLinkedResourceFromString(java.lang.String content) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, UnreachableException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException
content - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static LinkedResource CreateLinkedResourceFromString(java.lang.String content, ContentType contentType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, FormatException
content - the argument of type java.lang.StringcontentType - the argument of type ContentTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itpublic static LinkedResource CreateLinkedResourceFromString(java.lang.String content, Encoding contentEncoding, java.lang.String mediaType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, UnreachableException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException
content - the argument of type java.lang.StringcontentEncoding - the argument of type EncodingmediaType - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Uri getContentLink() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException, OutOfMemoryException, CultureNotFoundException, UnreachableException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class AttachmentBasepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class AttachmentBasepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class AttachmentBasenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class AttachmentBasepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class AttachmentBasepublic void setContentLink(Uri ContentLink) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, UnreachableException, UriFormatException, OutOfMemoryException, FormatException, NotSupportedException, RankException, ArrayTypeMismatchException
ContentLink - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class AttachmentBaseinstance - the new underlying object