public class ProcessStartInfo extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Diagnostics.ProcessStartInfo
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.Diagnostics.Process, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Diagnostics.Process
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.ProcessStartInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ProcessStartInfo()
Initializes a new instance by invoking the .NET constructor.
|
ProcessStartInfo(java.lang.Object instance)
Internal constructor.
|
ProcessStartInfo(java.lang.String fileName)
Initializes a new instance by invoking the .NET constructor.
|
ProcessStartInfo(java.lang.String fileName,
IEnumerable_1 arguments)
Initializes a new instance by invoking the .NET constructor.
|
ProcessStartInfo(java.lang.String fileName,
java.lang.String arguments)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessStartInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ProcessStartInfo, a cast assert is made to check if types are compatible. |
Collection_1 |
getArgumentList()
Gets the value of the .NET property ArgumentList.
|
java.lang.String |
getArguments()
Gets the value of the .NET property Arguments.
|
boolean |
getCreateNoWindow()
Gets the value of the .NET property CreateNoWindow.
|
java.lang.String |
getDomain()
Gets the value of the .NET property Domain.
|
IDictionary_2 |
getEnvironment()
Gets the value of the .NET property Environment.
|
StringDictionary |
getEnvironmentVariables()
Gets the value of the .NET property EnvironmentVariables.
|
boolean |
getErrorDialog()
Gets the value of the .NET property ErrorDialog.
|
java.lang.String |
getFileName()
Gets the value of the .NET property FileName.
|
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. |
boolean |
getLoadUserProfile()
Gets the value of the .NET property LoadUserProfile.
|
SecureString |
getPassword()
Gets the value of the .NET property Password.
|
java.lang.String |
getPasswordInClearText()
Gets the value of the .NET property PasswordInClearText.
|
boolean |
getRedirectStandardError()
Gets the value of the .NET property RedirectStandardError.
|
boolean |
getRedirectStandardInput()
Gets the value of the .NET property RedirectStandardInput.
|
boolean |
getRedirectStandardOutput()
Gets the value of the .NET property RedirectStandardOutput.
|
Encoding |
getStandardErrorEncoding()
Gets the value of the .NET property StandardErrorEncoding.
|
Encoding |
getStandardInputEncoding()
Gets the value of the .NET property StandardInputEncoding.
|
Encoding |
getStandardOutputEncoding()
Gets the value of the .NET property StandardOutputEncoding.
|
boolean |
getUseCredentialsForNetworkingOnly()
Gets the value of the .NET property UseCredentialsForNetworkingOnly.
|
java.lang.String |
getUserName()
Gets the value of the .NET property UserName.
|
boolean |
getUseShellExecute()
Gets the value of the .NET property UseShellExecute.
|
java.lang.String |
getVerb()
Gets the value of the .NET property Verb.
|
java.lang.String[] |
getVerbs()
Gets the value of the .NET property Verbs.
|
ProcessWindowStyle |
getWindowStyle()
Gets the value of the .NET property WindowStyle.
|
java.lang.String |
getWorkingDirectory()
Gets the value of the .NET property WorkingDirectory.
|
void |
setArguments(java.lang.String Arguments)
Sets the value of the .NET property Arguments.
|
void |
setCreateNoWindow(boolean CreateNoWindow)
Sets the value of the .NET property CreateNoWindow.
|
void |
setDomain(java.lang.String Domain)
Sets the value of the .NET property Domain.
|
void |
setErrorDialog(boolean ErrorDialog)
Sets the value of the .NET property ErrorDialog.
|
void |
setFileName(java.lang.String FileName)
Sets the value of the .NET property FileName.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLoadUserProfile(boolean LoadUserProfile)
Sets the value of the .NET property LoadUserProfile.
|
void |
setPassword(SecureString Password)
Sets the value of the .NET property Password.
|
void |
setPasswordInClearText(java.lang.String PasswordInClearText)
Sets the value of the .NET property PasswordInClearText.
|
void |
setRedirectStandardError(boolean RedirectStandardError)
Sets the value of the .NET property RedirectStandardError.
|
void |
setRedirectStandardInput(boolean RedirectStandardInput)
Sets the value of the .NET property RedirectStandardInput.
|
void |
setRedirectStandardOutput(boolean RedirectStandardOutput)
Sets the value of the .NET property RedirectStandardOutput.
|
void |
setStandardErrorEncoding(Encoding StandardErrorEncoding)
Sets the value of the .NET property StandardErrorEncoding.
|
void |
setStandardInputEncoding(Encoding StandardInputEncoding)
Sets the value of the .NET property StandardInputEncoding.
|
void |
setStandardOutputEncoding(Encoding StandardOutputEncoding)
Sets the value of the .NET property StandardOutputEncoding.
|
void |
setUseCredentialsForNetworkingOnly(boolean UseCredentialsForNetworkingOnly)
Sets the value of the .NET property UseCredentialsForNetworkingOnly.
|
void |
setUserName(java.lang.String UserName)
Sets the value of the .NET property UserName.
|
void |
setUseShellExecute(boolean UseShellExecute)
Sets the value of the .NET property UseShellExecute.
|
void |
setVerb(java.lang.String Verb)
Sets the value of the .NET property Verb.
|
void |
setWindowStyle(ProcessWindowStyle WindowStyle)
Sets the value of the .NET property WindowStyle.
|
void |
setWorkingDirectory(java.lang.String WorkingDirectory)
Sets the value of the .NET property WorkingDirectory.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ProcessStartInfo()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic ProcessStartInfo(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 ProcessStartInfo(java.lang.String fileName)
throws java.lang.Throwable
fileName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failspublic ProcessStartInfo(java.lang.String fileName,
IEnumerable_1 arguments)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
fileName - the argument of type java.lang.Stringarguments - the argument of type IEnumerable_1java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic ProcessStartInfo(java.lang.String fileName,
java.lang.String arguments)
throws java.lang.Throwable
fileName - the argument of type java.lang.Stringarguments - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failspublic static ProcessStartInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ProcessStartInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedProcessStartInfo instancejava.lang.Throwable - in case of error during cast operationpublic Collection_1 getArgumentList() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getArguments()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCreateNoWindow()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getDomain()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IDictionary_2 getEnvironment() throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, NotSupportedException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic StringDictionary getEnvironmentVariables() throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic boolean getErrorDialog()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getFileName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic boolean getLoadUserProfile()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SecureString getPassword() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getPasswordInClearText()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getRedirectStandardError()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getRedirectStandardInput()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getRedirectStandardOutput()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Encoding getStandardErrorEncoding() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Encoding getStandardInputEncoding() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Encoding getStandardOutputEncoding() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseCredentialsForNetworkingOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getUserName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseShellExecute()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getVerb()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String[] getVerbs()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
InvalidOperationException,
ArrayTypeMismatchException,
OutOfMemoryException,
ArgumentNullException,
RankException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
SecurityException,
IOException,
UnauthorizedAccessException,
FormatException,
CultureNotFoundException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itExternalException - if the .NET member raises itpublic ProcessWindowStyle getWindowStyle() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getWorkingDirectory()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setArguments(java.lang.String Arguments)
throws java.lang.Throwable
Arguments - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCreateNoWindow(boolean CreateNoWindow)
throws java.lang.Throwable
CreateNoWindow - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDomain(java.lang.String Domain)
throws java.lang.Throwable
Domain - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setErrorDialog(boolean ErrorDialog)
throws java.lang.Throwable
ErrorDialog - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFileName(java.lang.String FileName)
throws java.lang.Throwable
FileName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setLoadUserProfile(boolean LoadUserProfile)
throws java.lang.Throwable
LoadUserProfile - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPassword(SecureString Password) throws java.lang.Throwable
Password - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPasswordInClearText(java.lang.String PasswordInClearText)
throws java.lang.Throwable
PasswordInClearText - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setRedirectStandardError(boolean RedirectStandardError)
throws java.lang.Throwable
RedirectStandardError - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setRedirectStandardInput(boolean RedirectStandardInput)
throws java.lang.Throwable
RedirectStandardInput - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setRedirectStandardOutput(boolean RedirectStandardOutput)
throws java.lang.Throwable
RedirectStandardOutput - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setStandardErrorEncoding(Encoding StandardErrorEncoding) throws java.lang.Throwable
StandardErrorEncoding - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setStandardInputEncoding(Encoding StandardInputEncoding) throws java.lang.Throwable
StandardInputEncoding - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setStandardOutputEncoding(Encoding StandardOutputEncoding) throws java.lang.Throwable
StandardOutputEncoding - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUseCredentialsForNetworkingOnly(boolean UseCredentialsForNetworkingOnly)
throws java.lang.Throwable
UseCredentialsForNetworkingOnly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUserName(java.lang.String UserName)
throws java.lang.Throwable
UserName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUseShellExecute(boolean UseShellExecute)
throws java.lang.Throwable
UseShellExecute - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setVerb(java.lang.String Verb)
throws java.lang.Throwable
Verb - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWindowStyle(ProcessWindowStyle WindowStyle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
WindowStyle - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setWorkingDirectory(java.lang.String WorkingDirectory)
throws java.lang.Throwable
WorkingDirectory - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR